Fix Dict Size Test in `LZ4_compress_fast_continue()`
authorW. Felix Handte <w@felixhandte.com>
Wed, 5 Dec 2018 19:24:33 +0000 (11:24 -0800)
committerW. Felix Handte <w@felixhandte.com>
Wed, 5 Dec 2018 19:24:33 +0000 (11:24 -0800)
commit4e3accccb221c2e5dac90efec823a4b13fed70ae
treec6953a10cdc075f93a5b397ba3f74a6d55d469cb
parent535636ff5cca702e4b5eb8e602c0ce70bfcde2c1
Fix Dict Size Test in `LZ4_compress_fast_continue()`

Dictionaries don't need to be > 4 bytes, they need to be >= 4 bytes. This test
was overly conservative.

Also removes the test in `LZ4_attach_dictionary()`.
lib/lz4.c