From 15431d4fd8de67a03af4ee9cc8e774e1750e9da2 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 14 Sep 2020 20:25:10 +0200 Subject: Add zstd stream compressor implementation to libfstream Signed-off-by: David Oberhollenzer --- lib/fstream/uncompress/istream_compressor.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/fstream/uncompress/istream_compressor.c') 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 @@ -37,6 +37,11 @@ istream_t *istream_compressor_create(istream_t *strm, int comp_id) case FSTREAM_COMPRESSOR_XZ: #ifdef WITH_XZ 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: -- cgit v1.2.3