aboutsummaryrefslogtreecommitdiff
path: root/lib/fstream/uncompress/istream_compressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fstream/uncompress/istream_compressor.c')
-rw-r--r--lib/fstream/uncompress/istream_compressor.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/fstream/uncompress/istream_compressor.c b/lib/fstream/uncompress/istream_compressor.c
index 924f309..2262c9b 100644
--- a/lib/fstream/uncompress/istream_compressor.c
+++ b/lib/fstream/uncompress/istream_compressor.c
@@ -39,6 +39,11 @@ istream_t *istream_compressor_create(istream_t *strm, int comp_id)
comp = istream_xz_create(strm->get_filename(strm));
#endif
break;
+ case FSTREAM_COMPRESSOR_ZSTD:
+#ifdef WITH_ZSTD
+ comp = istream_zstd_create(strm->get_filename(strm));
+#endif
+ break;
default:
break;
}