]> 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>
Tue, 15 Oct 2019 14:22:06 +0000 (10:22 -0400)
lib/compress/zstd_compress.c

index df4e828cdd75514879dbb3c98dfbcbdc9f594f82..acbd3a28866aaef0f17151e610fe4527d8d8f4bd 100644 (file)
@@ -51,6 +51,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)