|
|
@ -2044,6 +2044,10 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() { |
|
|
|
|
|
|
|
|
|
|
|
var gotEOL = false; |
|
|
|
var gotEOL = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.byteAlign) { |
|
|
|
|
|
|
|
this.inputBits &= ~7; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!this.eoblock && this.row === this.rows - 1) { |
|
|
|
if (!this.eoblock && this.row === this.rows - 1) { |
|
|
|
this.eof = true; |
|
|
|
this.eof = true; |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -2067,10 +2071,6 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.byteAlign && !gotEOL) { |
|
|
|
|
|
|
|
this.inputBits &= ~7; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!this.eof && this.encoding > 0) { |
|
|
|
if (!this.eof && this.encoding > 0) { |
|
|
|
this.nextLine2D = !this.lookBits(1); |
|
|
|
this.nextLine2D = !this.lookBits(1); |
|
|
|
this.eatBits(1); |
|
|
|
this.eatBits(1); |
|
|
|