Browse Source

Handle blackTable2 array access correctly.

Kalervo Kujala 14 years ago
parent
commit
6688c3a1f5
  1. 2
      pdf.js

2
pdf.js

@ -2098,7 +2098,7 @@ var CCITTFaxStream = (function ccittFaxStream() { @@ -2098,7 +2098,7 @@ var CCITTFaxStream = (function ccittFaxStream() {
if (i < end)
code <<= end - i;
if (code >= limit) {
var p = table[code];
var p = table[code - ((limit == -1) ? 0 : limit)];
if (p[0] == i) {
this.eatBits(i);
return [true, p[1]];

Loading…
Cancel
Save