]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Attach Dicts when Using ZSTD_btopt and ZSTD_btultra
authorW. Felix Handte <w@felixhandte.com>
Wed, 13 Jun 2018 20:54:31 +0000 (16:54 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 19 Jun 2018 17:01:21 +0000 (13:01 -0400)
lib/compress/zstd_compress.c

index c071c57382f1fcd280469f27b7ea1549fc2066a4..75338326d1668b81cd2809efa3be86e23bec6b50 100644 (file)
@@ -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);