From: Sen Huang Date: Tue, 15 Oct 2019 14:22:06 +0000 (-0400) Subject: Add compressionlevel to cdict X-Git-Tag: v1.4.4~1^2~15^2~5^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3328348c63b8b1bd5a6eaf53683b8ed68bf01f6e;p=thirdparty%2Fzstd.git Add compressionlevel to cdict --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 7facbeff0..f16da6a85 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -50,6 +50,7 @@ struct ZSTD_CDict_s { ZSTD_compressedBlockState_t cBlockState; ZSTD_customMem customMem; U32 dictID; + BYTE compressionLevel; /* 0 indicates that advanced API was used to select params */ }; /* typedef'd to ZSTD_CDict within "zstd.h" */ ZSTD_CCtx* ZSTD_createCCtx(void)