Closed lexx-bright closed 2 years ago
Fix for the #440
Update strm->hdl.lz4.iloc even if LZ4F_decompress() writes nothing to the dstBuffer but consumes from the srcBuffer. Otherwise, the next run will fail with -16 ERROR_decompressionFailed because srcBuffer contains data consumed in the previous run.
Fix for the #440
Update strm->hdl.lz4.iloc even if LZ4F_decompress() writes nothing to the dstBuffer but consumes from the srcBuffer. Otherwise, the next run will fail with -16 ERROR_decompressionFailed because srcBuffer contains data consumed in the previous run.