Merge pull request #1415 from saebekassebil/issue1302

Fix issue #1302
This commit is contained in:
Julian Viereck 2012-03-26 12:21:16 -07:00
commit 222f92e317

View File

@ -2056,7 +2056,7 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
if (this.eoblock) {
code = this.lookBits(7);
p = twoDimTable[code];
if (p[0] > 0) {
if (p && p[0] > 0) {
this.eatBits(p[0]);
return p[1];
}