mirror of
https://github.com/facebook/zstd.git
synced 2025-12-08 00:03:24 -05:00
Attach Dict When Using ZSTD_lazy Strategies
This commit is contained in:
parent
90cfc799e5
commit
33e2240fac
@ -1244,7 +1244,7 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx,
|
|||||||
|| pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN )
|
|| pledgedSrcSize == ZSTD_CONTENTSIZE_UNKNOWN )
|
||||||
&& !params.forceWindow /* dictMatchState isn't correctly
|
&& !params.forceWindow /* dictMatchState isn't correctly
|
||||||
* handled in _enforceMaxDist */
|
* handled in _enforceMaxDist */
|
||||||
&& cdict->cParams.strategy <= ZSTD_dfast
|
&& cdict->cParams.strategy <= ZSTD_btlazy2
|
||||||
&& ZSTD_equivalentCParams(cctx->appliedParams.cParams,
|
&& ZSTD_equivalentCParams(cctx->appliedParams.cParams,
|
||||||
cdict->cParams);
|
cdict->cParams);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user