diff options
author | Yann Collet <cyan@fb.com> | 2016-11-11 23:11:56 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2016-11-11 23:11:56 (GMT) |
commit | bf6dda69e683f981bc966bd86c01f78936b39689 (patch) | |
tree | afad64be0ce3f34fdb8045589e44742236734255 /lib/lz4frame.h | |
parent | dbfdd5131cfbcfb4e68312e36658912b144563f2 (diff) | |
download | lz4-bf6dda69e683f981bc966bd86c01f78936b39689.zip lz4-bf6dda69e683f981bc966bd86c01f78936b39689.tar.gz lz4-bf6dda69e683f981bc966bd86c01f78936b39689.tar.bz2 |
updated frametest
Diffstat (limited to 'lib/lz4frame.h')
-rw-r--r-- | lib/lz4frame.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/lz4frame.h b/lib/lz4frame.h index 8fc5d17..e26be76 100644 --- a/lib/lz4frame.h +++ b/lib/lz4frame.h @@ -151,7 +151,8 @@ typedef struct { * Simple compression function ***********************************/ /*!LZ4F_compressFrameBound() : - * Returns the maximum possible size of a frame given srcSize content and preferences. + * Returns the maximum possible size of a frame compressed with LZ4F_compressFrame() given srcSize content and preferences. + * Note : this result is only usable with LZ4F_compressFrame(), not with multi-segments compression. */ LZ4FLIB_API size_t LZ4F_compressFrameBound(size_t srcSize, const LZ4F_preferences_t* preferencesPtr); @@ -175,7 +176,7 @@ typedef struct LZ4F_cctx_s LZ4F_cctx; /* incomplete type */ typedef LZ4F_cctx* LZ4F_compressionContext_t; /* for compatibility with previous API version */ typedef struct { - unsigned stableSrc; /* 1 == src content remain present on future calls to LZ4F_compress(); avoid saving src content within tmp buffer as future dictionary */ + unsigned stableSrc; /* 1 == src content will remain present on future calls to LZ4F_compress(); skip copying src content within tmp buffer */ unsigned reserved[3]; } LZ4F_compressOptions_t; |