diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-09-15 21:13:56 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-09-16 09:34:35 +0200 |
commit | 183cf393a453cddb689666ce7fb35a97e7f523bf (patch) | |
tree | 7f57b466be7fdbe8cae1ad1f5562fa493ad3312b /lib/fstream/uncompress/istream_compressor.c | |
parent | 15431d4fd8de67a03af4ee9cc8e774e1750e9da2 (diff) |
Add bzip2 stream compression support
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/fstream/uncompress/istream_compressor.c')
-rw-r--r-- | lib/fstream/uncompress/istream_compressor.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fstream/uncompress/istream_compressor.c b/lib/fstream/uncompress/istream_compressor.c index 2262c9b..bc8ef39 100644 --- a/lib/fstream/uncompress/istream_compressor.c +++ b/lib/fstream/uncompress/istream_compressor.c @@ -44,6 +44,11 @@ istream_t *istream_compressor_create(istream_t *strm, int comp_id) comp = istream_zstd_create(strm->get_filename(strm)); #endif break; + case FSTREAM_COMPRESSOR_BZIP2: +#ifdef WITH_BZIP2 + comp = istream_bzip2_create(strm->get_filename(strm)); +#endif + break; default: break; } |