Removing redundant condition in decompression, making first block rles valid to deocmpress

This commit is contained in:
Bimba Shrestha
2019-09-06 10:46:19 -07:00
parent c3e3c8bf32
commit d687d603e4
3 changed files with 0 additions and 14 deletions
-5
View File
@@ -1711,11 +1711,6 @@ static unsigned long long FIO_decompressZstdFrame(
}
if (readSizeHint == 0) break; /* end of frame */
if (inBuff.size != inBuff.pos) {
DISPLAYLEVEL(1, "%s : Decoding error (37) : should consume entire input \n",
srcFileName);
return FIO_ERROR_FRAME_DECODING;
}
/* Fill input buffer */
{ size_t const toDecode = MIN(readSizeHint, ress->srcBufferSize); /* support large skippable frames */