Skip to content
Browse files

Fix uncompress ByteArray

  • Loading branch information...
1 parent 9c77cb9 commit 2b7e235dafb8311b2d29882d14aac71dd6cc0a5c @eduardmatveev eduardmatveev committed Jan 20, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ByteArray.js
View
2 lib/ByteArray.js
@@ -309,7 +309,7 @@
var numLengthCodes = readBits(input, 4) + 4;
for (var i = 0; i < 19; ++i) {
bitLengths[codeLengthOrder[i]] = i < numLengthCodes ?
- readBits(sbytes, sstream, 3) : 0;
+ readBits(input, 3) : 0;
}
var codeLengthTable = makeHuffmanTable(bitLengths);
bitLengths = [];

0 comments on commit 2b7e235

Please sign in to comment.
Something went wrong with that request. Please try again.