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:
parent
50fe7c8d0a
commit
b835ef425e
3 changed files with 9 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue