]> git.ipfire.org Git - thirdparty/zstd.git/commit
fix #944 : ZSTDMT with large files and dictionary now works correctly
authorYann Collet <cyan@fb.com>
Wed, 13 Dec 2017 00:20:51 +0000 (16:20 -0800)
committerYann Collet <cyan@fb.com>
Wed, 13 Dec 2017 02:04:58 +0000 (18:04 -0800)
commite28305fcca441564a57758d84da8ef73afe7d85d
treeeb1795465715ed0a6ab68d51d9ffbfb83a548491
parent03832b7aa590ed708354b086842406bc7c4f9b3a
fix #944 : ZSTDMT with large files and dictionary now works correctly

windowLog is now enforced from provided compression parameters,
instead of being copied blindly from `cdict`
where it could be smaller.

also :
- fix a minor bug in zstreamtest --mt : advanced parameters must be set before init
- changed advanced parameter name to ZSTDMT_jobSize
lib/compress/zstd_compress.c
lib/compress/zstd_compress_internal.h
lib/compress/zstdmt_compress.c
lib/compress/zstdmt_compress.h
tests/zstreamtest.c