]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add compressionlevel to cdict
authorSen Huang <senhuang96@fb.com>
Tue, 15 Oct 2019 14:22:06 +0000 (10:22 -0400)
committerSen Huang <senhuang96@fb.com>
Mon, 21 Oct 2019 19:32:39 +0000 (15:32 -0400)
lib/compress/zstd_compress.c

index 7facbeff0a11e982d3ea6a5e2c7381f52d516db0..f16da6a85ed4a49a9374fee6f5f72963c51a7e4a 100644 (file)
@@ -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)