diff options
author | Yann Collet <cyan@fb.com> | 2016-09-06 14:46:52 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2016-09-06 14:46:52 (GMT) |
commit | 33993542af61ebaa87db3a0adbfe3661c0a5d313 (patch) | |
tree | 3ab3ea0efebb062fd630f4baf81563d6132fd166 /lib/lz4.c | |
parent | c8a78dba1fc21f64dec72cf217c21fe8784c42bf (diff) | |
download | lz4-33993542af61ebaa87db3a0adbfe3661c0a5d313.zip lz4-33993542af61ebaa87db3a0adbfe3661c0a5d313.tar.gz lz4-33993542af61ebaa87db3a0adbfe3661c0a5d313.tar.bz2 |
removed test artefacts
Diffstat (limited to 'lib/lz4.c')
-rw-r--r-- | lib/lz4.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1103,7 +1103,7 @@ FORCE_INLINE int LZ4_decompress_generic( int partialDecoding, /* full, partial */ int targetOutputSize, /* only used if partialDecoding==partial */ int dict, /* noDict, withPrefix64k, usingExtDict */ - const BYTE* const lowPrefix, /* == dest if dict == noDict */ + const BYTE* const lowPrefix, /* == dest when no prefix */ const BYTE* const dictStart, /* only if dict==usingExtDict */ const size_t dictSize /* note : = 0 if noDict */ ) @@ -1385,8 +1385,7 @@ FORCE_INLINE int LZ4_decompress_usingDict_generic(const char* source, char* dest { if (dictSize==0) return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, safe, full, 0, noDict, (BYTE*)dest, NULL, 0); - if (dictStart+dictSize == dest) - { + if (dictStart+dictSize == dest) { if (dictSize >= (int)(64 KB - 1)) return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, safe, full, 0, withPrefix64k, (BYTE*)dest-64 KB, NULL, 0); return LZ4_decompress_generic(source, dest, compressedSize, maxOutputSize, safe, full, 0, noDict, (BYTE*)dest-dictSize, NULL, 0); |