Add extra space to match linux kernel
This commit is contained in:
@@ -908,7 +908,7 @@ static void ZSTD_optLdm_processMatchCandidate(ZSTD_optLdm_t* optLdm, ZSTD_match_
|
|||||||
*/
|
*/
|
||||||
U32 posOvershoot = currPosInBlock - optLdm->endPosInBlock;
|
U32 posOvershoot = currPosInBlock - optLdm->endPosInBlock;
|
||||||
ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, posOvershoot);
|
ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, posOvershoot);
|
||||||
}
|
}
|
||||||
ZSTD_opt_getNextMatchAndUpdateSeqStore(optLdm, currPosInBlock, remainingBytes);
|
ZSTD_opt_getNextMatchAndUpdateSeqStore(optLdm, currPosInBlock, remainingBytes);
|
||||||
}
|
}
|
||||||
ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock);
|
ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock);
|
||||||
|
|||||||
Reference in New Issue
Block a user