Attach Dict When Using ZSTD_lazy Strategies
This commit is contained in:
1 parent
90cfc799e5
commit
33e2240fac
1 file changed
+1
-1
@@ -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_dfast
|
||||
&& cdict->cParams.strategy <= ZSTD_btlazy2
|
||||
&& ZSTD_equivalentCParams(cctx->appliedParams.cParams,
|
||||
cdict->cParams);
|
||||
|
||||
|
||||
Reference in new issue
Block a user