From: Nick Terrell Date: Wed, 23 Feb 2022 03:58:18 +0000 (-0800) Subject: Add extra space to match linux kernel X-Git-Tag: v1.4.10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b53da1f6f499f0d44c5f40795b080d967b24e5fa;p=thirdparty%2Fzstd.git Add extra space to match linux kernel --- diff --git a/lib/compress/zstd_opt.c b/lib/compress/zstd_opt.c index c1b311eff..1d80b5109 100644 --- a/lib/compress/zstd_opt.c +++ b/lib/compress/zstd_opt.c @@ -908,7 +908,7 @@ static void ZSTD_optLdm_processMatchCandidate(ZSTD_optLdm_t* optLdm, ZSTD_match_ */ U32 posOvershoot = currPosInBlock - optLdm->endPosInBlock; ZSTD_optLdm_skipRawSeqStoreBytes(&optLdm->seqStore, posOvershoot); - } + } ZSTD_opt_getNextMatchAndUpdateSeqStore(optLdm, currPosInBlock, remainingBytes); } ZSTD_optLdm_maybeAddMatch(matches, nbMatches, optLdm, currPosInBlock);