mirror of
https://github.com/facebook/zstd.git
synced 2025-10-17 00:07:08 -04: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 )
|
||||
&& !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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user