From: Yann Collet Date: Tue, 6 Sep 2016 07:54:22 +0000 (+0200) Subject: fixed checksum X-Git-Tag: v1.1.0~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b624922b148d64bed42bf7704a5273fe94af10a3;p=thirdparty%2Fzstd.git fixed checksum --- diff --git a/NEWS b/NEWS index d72e6b103..167666c4a 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ v1.0.1 New : contrib/pzstd, parallel version of zstd, by Nick Terrell added : NetBSD install target (#338) +Improved : variable compression speed improvements on batches of small files. Fixed : CLI -d output to stdout by default when input is stdin (#322) Fixed : CLI correctly detects console on Mac OS-X Fixed : Legacy decoders use unified error codes (#341), reported by benrg diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 7e30f5a05..07e9e8519 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -247,7 +247,8 @@ static size_t ZSTD_continueCCtx(ZSTD_CCtx* cctx, ZSTD_parameters params, U64 fra cctx->dictID = 0; cctx->loadedDictEnd = 0; { int i; for (i=0; irep[i] = repStartValue[i]; } - cctx->seqStore.litLengthSum = 0; /* force reset stats */ + cctx->seqStore.litLengthSum = 0; /* force reset of btopt stats */ + XXH64_reset(&cctx->xxhState, 0); return 0; }