diff options
Diffstat (limited to 'core/decoders/tight.js')
-rw-r--r-- | core/decoders/tight.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/decoders/tight.js b/core/decoders/tight.js index 7695d44..5a0a315 100644 --- a/core/decoders/tight.js +++ b/core/decoders/tight.js @@ -160,7 +160,7 @@ export default class TightDecoder { return false; } - data = this._zlibs[streamId].inflate(data, true, uncompressedSize); + data = this._zlibs[streamId].inflate(data, uncompressedSize); if (data.length != uncompressedSize) { throw new Error("Incomplete zlib block"); } @@ -208,7 +208,7 @@ export default class TightDecoder { return false; } - data = this._zlibs[streamId].inflate(data, true, uncompressedSize); + data = this._zlibs[streamId].inflate(data, uncompressedSize); if (data.length != uncompressedSize) { throw new Error("Incomplete zlib block"); } |