diff options
author | Yann Collet <cyan@fb.com> | 2018-05-06 02:59:00 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-05-06 02:59:00 (GMT) |
commit | d7b6c726edb23fc19757dc84d4546863557bfe20 (patch) | |
tree | a7f822da35d03b30a6cacd8bdc6a042c0c1e7a8f /tests | |
parent | af127334670a5e7b710bbd6adb71aa7c3ef0cd72 (diff) | |
download | lz4-d7b6c726edb23fc19757dc84d4546863557bfe20.zip lz4-d7b6c726edb23fc19757dc84d4546863557bfe20.tar.gz lz4-d7b6c726edb23fc19757dc84d4546863557bfe20.tar.bz2 |
small extDict : fixed side-effect
don't fix dictionaries of size 0.
setting dictEnd == source triggers prefix mode,
thus removing possibility to use CDict.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/frametest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/frametest.c b/tests/frametest.c index 21d883d..4efeb6f 100644 --- a/tests/frametest.c +++ b/tests/frametest.c @@ -520,6 +520,7 @@ int basicTests(U32 seed, double compressibility) LZ4F_CDict* const cdict = LZ4F_createCDict(CNBuffer, dictSize); if (cdict == NULL) goto _output_error; CHECK( LZ4F_createCompressionContext(&cctx, LZ4F_VERSION) ); + DISPLAYLEVEL(3, "LZ4F_compressFrame_usingCDict, with NULL dict : "); CHECK_V(cSizeNoDict, LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, |