diff options
author | Yann Collet <cyan@fb.com> | 2017-04-09 08:41:36 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-04-09 08:41:36 (GMT) |
commit | e2c9b19122a19fa8a46a253e4ce556a5b75fa8b1 (patch) | |
tree | c713ab373bca1e02a55036432a90fe8782e31197 /lib/lz4frame.h | |
parent | 7eecd32c079cdf1afda8c00bba83dd3a1fee3f62 (diff) | |
download | lz4-e2c9b19122a19fa8a46a253e4ce556a5b75fa8b1.zip lz4-e2c9b19122a19fa8a46a253e4ce556a5b75fa8b1.tar.gz lz4-e2c9b19122a19fa8a46a253e4ce556a5b75fa8b1.tar.bz2 |
lz4frame : Added negative compression levels
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r-- | lib/lz4frame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h index 76b4e69..1b3e498 100644 --- a/lib/lz4frame.h +++ b/lib/lz4frame.h @@ -167,7 +167,7 @@ typedef struct { * All reserved fields must be set to zero. */ typedef struct { LZ4F_frameInfo_t frameInfo; - int compressionLevel; /* 0 == default (fast mode); values above LZ4HC_CLEVEL_MAX count as LZ4HC_CLEVEL_MAX; values below 0 count as 0 */ + int compressionLevel; /* 0 == default (fast mode); values above LZ4HC_CLEVEL_MAX count as LZ4HC_CLEVEL_MAX; values below 0 trigger "fast acceleration", proportional to value */ unsigned autoFlush; /* 1 == always flush (reduce usage of tmp buffer) */ unsigned reserved[4]; /* must be zero for forward compatibility */ } LZ4F_preferences_t; |