mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-25 09:38:06 +02:00
For /Filter entries containing Name
s, ignore the /DecodeParms entry if it contains an Array (issue 8895)
This commit is contained in:
parent
d0d7046129
commit
eece66fa3e
4 changed files with 14 additions and 3 deletions
|
@ -1748,8 +1748,9 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
|
|||
this.str = str;
|
||||
this.dict = str.dict;
|
||||
|
||||
params = params || Dict.empty;
|
||||
|
||||
if (!isDict(params)) {
|
||||
params = Dict.empty;
|
||||
}
|
||||
this.encoding = params.get('K') || 0;
|
||||
this.eoline = params.get('EndOfLine') || false;
|
||||
this.byteAlign = params.get('EncodedByteAlign') || false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue