fixed zbufftest :

This commit is contained in:
Yann Collet
2016-06-01 00:44:36 +02:00
parent 8e3a36a6db
commit 202844ebd0
3 changed files with 16 additions and 13 deletions
+1
View File
@@ -1104,6 +1104,7 @@ size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, c
dctx->stage = ZSTDds_decodeBlockHeader;
dctx->expected = ZSTD_blockHeaderSize;
dctx->previousDstEnd = (char*)dst + rSize;
if (ZSTD_isError(rSize)) return rSize;
if (dctx->fParams.checksumFlag) XXH64_update(&dctx->xxhState, dst, rSize);
return rSize;
}