Remove Log Overriding for the Time Being
parent
77fd17d93f
commit
9d87d50878
|
@ -1347,12 +1347,6 @@ static size_t ZSTD_resetCCtx_byAttachingCDict(
|
||||||
/* Copy only compression parameters related to tables. */
|
/* Copy only compression parameters related to tables. */
|
||||||
params.cParams = *cdict_cParams;
|
params.cParams = *cdict_cParams;
|
||||||
params.cParams.windowLog = windowLog;
|
params.cParams.windowLog = windowLog;
|
||||||
DEBUGLOG(4, "Overriding hashLog from %d to %d", params.cParams.hashLog, cctx->requestedParams.cParams.hashLog);
|
|
||||||
DEBUGLOG(4, "Overriding chainLog from %d to %d", params.cParams.chainLog, cctx->requestedParams.cParams.chainLog);
|
|
||||||
if (cctx->requestedParams.cParams.hashLog)
|
|
||||||
params.cParams.hashLog = cctx->requestedParams.cParams.hashLog;
|
|
||||||
if (cctx->requestedParams.cParams.chainLog)
|
|
||||||
params.cParams.chainLog = cctx->requestedParams.cParams.chainLog;
|
|
||||||
ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize,
|
ZSTD_resetCCtx_internal(cctx, params, pledgedSrcSize,
|
||||||
ZSTDcrp_continue, zbuff);
|
ZSTDcrp_continue, zbuff);
|
||||||
assert(cctx->appliedParams.cParams.strategy == cdict_cParams->strategy);
|
assert(cctx->appliedParams.cParams.strategy == cdict_cParams->strategy);
|
||||||
|
|
Loading…
Reference in New Issue