From: W. Felix Handte Date: Wed, 13 Jun 2018 20:54:31 +0000 (-0400) Subject: Attach Dicts when Using ZSTD_btopt and ZSTD_btultra X-Git-Tag: v1.3.5~3^2~10^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c3184d44e5cbef4ef48be29be7e063dc72a466;p=thirdparty%2Fzstd.git Attach Dicts when Using ZSTD_btopt and ZSTD_btultra --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index c071c5738..75338326d 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -1245,7 +1245,6 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx, || pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN ) && !params.forceWindow /* dictMatchState isn't correctly * handled in _enforceMaxDist */ - && cdict->cParams.strategy <= ZSTD_btlazy2 && ZSTD_equivalentCParams(cctx->appliedParams.cParams, cdict->cParams);