Remove ZSTD_p_refDictContent and dictContentByRef

This commit is contained in:
Stella Lau
2017-08-25 11:11:45 -07:00
parent 15fdeb9e41
commit eb7bbab36a
5 changed files with 31 additions and 18 deletions
+1 -1
View File
@@ -344,7 +344,7 @@ void ZSTDMT_compressChunk(void* jobDescription)
{ ZSTD_CCtx_params jobParams = job->params;
/* Force loading dictionary in "content-only" mode (no header analysis) */
size_t const dictModeError =
ZSTD_CCtxParam_setParameter(&jobParams, ZSTD_p_dictMode, 1);
ZSTD_CCtxParam_setParameter(&jobParams, ZSTD_p_dictMode, (U32)ZSTD_dm_rawContent);
size_t const forceWindowError =
ZSTD_CCtxParam_setParameter(&jobParams, ZSTD_p_forceMaxWindow, !job->firstChunk);
/* Note: ZSTD_setCCtxParameter() should not be used here.