fixed skippable frame

This commit is contained in:
inikep committed 2016-05-31 19:36:51 +02:00
1 parent 019b833306
commit 43aa9fe8b3
3 files changed
+27 -33

No files matched your search

+1 -1
View File
@@ -1090,7 +1090,7 @@ size_t ZSTD_decompressContinue(ZSTD_DCtx* dctx, void* dst, size_t dstCapacity, c
return 0;
}
case ZSTDds_skipFrame:
{ dctx->expected = ZSTD_frameHeaderSize_min;
{ dctx->expected = 0;
dctx->stage = ZSTDds_getFrameHeaderSize;
return 0;
}