Merge pull request #1068 from terrelln/mt-fixes

Fix broken assertion
This commit is contained in:
Yann Collet
2018-03-22 10:38:17 -07:00
committed by GitHub
+1 -1
View File
@@ -1029,7 +1029,7 @@ static size_t ZSTDMT_computeTargetJobLog(ZSTD_CCtx_params const params)
{
if (params.ldmParams.enableLdm)
return MAX(21, params.cParams.chainLog + 4);
return params.cParams.windowLog + 2;
return MAX(20, params.cParams.windowLog + 2);
}
static size_t ZSTDMT_computeOverlapLog(ZSTD_CCtx_params const params)