[ldm][mt] Fix loadedDictEnd
This commit is contained in:
parent
0dcd3eec43
commit
3cc227e90e
@ -513,6 +513,7 @@ ZSTDMT_serialState_reset(serialState_t* serialState,
|
||||
memset(serialState->ldmState.bucketOffsets, 0, bucketSize);
|
||||
|
||||
/* Update window state and fill hash table with dict */
|
||||
serialState->ldmState.loadedDictEnd = 0;
|
||||
if (dictSize > 0) {
|
||||
if (dictContentType == ZSTD_dct_rawContent) {
|
||||
BYTE const* const dictEnd = (const BYTE*)dict + dictSize;
|
||||
@ -528,9 +529,6 @@ ZSTDMT_serialState_reset(serialState_t* serialState,
|
||||
serialState->ldmWindow = serialState->ldmState.window;
|
||||
}
|
||||
|
||||
if (params.ldmParams.enableLdm && dict) {
|
||||
}
|
||||
|
||||
serialState->params = params;
|
||||
serialState->params.jobSize = (U32)jobSize;
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user