aboutsummaryrefslogtreecommitdiff
path: root/lib/fstream/compress/ostream_compressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstream/compress/ostream_compressor.c')
-rw-r--r--lib/fstream/compress/ostream_compressor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fstream/compress/ostream_compressor.c b/lib/fstream/compress/ostream_compressor.c
index d1d55e1..7ea7919 100644
--- a/lib/fstream/compress/ostream_compressor.c
+++ b/lib/fstream/compress/ostream_compressor.c
@@ -82,6 +82,11 @@ ostream_t *ostream_compressor_create(ostream_t *strm, int comp_id)
comp = ostream_zstd_create(strm->get_filename(strm));
#endif
break;
+ case FSTREAM_COMPRESSOR_BZIP2:
+#ifdef WITH_BZIP2
+ comp = ostream_bzip2_create(strm->get_filename(strm));
+#endif
+ break;
default:
break;
}