]> git.ipfire.org Git - thirdparty/zstd.git/commit
fixed wrong assert() condition 750/head
authorYann Collet <cyan@fb.com>
Wed, 5 Jul 2017 02:33:16 +0000 (19:33 -0700)
committerYann Collet <cyan@fb.com>
Wed, 5 Jul 2017 02:33:16 +0000 (19:33 -0700)
commit27e883371dbde003e420e57ca34f53a50c3b247f
treee43938f3ffdb6ad4037b92964a029edd7fc73730
parent2cb9774f5ea52b4f7399164010b21dead9d32e14
fixed wrong assert() condition

A single job created by ZSTDMT_compress() can be < 256KB
if data to compress is < 256 KB
(in which case it is delegated to single thread mode)
lib/compress/zstdmt_compress.c
tests/Makefile