]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix Rescale Continue Special Case
authorW. Felix Handte <w@felixhandte.com>
Thu, 29 Aug 2019 20:33:45 +0000 (16:33 -0400)
committerW. Felix Handte <w@felixhandte.com>
Mon, 9 Sep 2019 17:34:08 +0000 (13:34 -0400)
lib/compress/zstd_compress.c

index 663bfeac9c877ac66ee10c5ce4ff544656b4bc9f..d2ff96b56f2bb1ebee29f1aadfa3c446c02f67df 100644 (file)
@@ -1461,7 +1461,8 @@ static size_t ZSTD_resetCCtx_internal(ZSTD_CCtx* zc,
                         &zc->blockState.matchState,
                         &zc->workspace,
                         &params.cParams,
-                        ZSTDcrp_noMemset, ZSTD_resetTarget_CCtx));
+                        crp,
+                        ZSTD_resetTarget_CCtx));
                 }
                 return ZSTD_continueCCtx(zc, &params, pledgedSrcSize);
     }   }   }