1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

CCITTFaxStream: fix regression when EncodedByteAlign is true and EndOfLine is false

This commit is contained in:
Tim van der Meij 2014-12-29 22:28:03 +01:00
parent 50fe7c8d0a
commit b835ef425e
3 changed files with 9 additions and 1 deletions

View file

@ -2040,7 +2040,7 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
if (!this.eoblock && this.row === this.rows - 1) {
this.eof = true;
} else if (this.eoline || !this.byteAlign) {
} else {
code1 = this.lookBits(12);
if (this.eoline) {
while (code1 !== EOF && code1 !== 1) {