]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Focus on Non-BT Impls for the Moment
authorW. Felix Handte <w@felixhandte.com>
Tue, 29 May 2018 20:06:23 +0000 (16:06 -0400)
committerW. Felix Handte <w@felixhandte.com>
Wed, 13 Jun 2018 18:58:36 +0000 (14:58 -0400)
lib/compress/zstd_compress.c

index 142ff6c59e88b0abdc93168ee800ccf95992174d..f42c4595d5d5647032f1ade9ddb7da0c229d5ad1 100644 (file)
@@ -1244,7 +1244,7 @@ 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
+                        && cdict->cParams.strategy <= ZSTD_lazy2
                         && ZSTD_equivalentCParams(cctx->appliedParams.cParams,
                                                   cdict->cParams);