mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #474 from notmasteryet/tree-15
Fixing truncated streams with multiple filters
This commit is contained in:
commit
4dd79a51c1
1 changed files with 2 additions and 0 deletions
2
pdf.js
2
pdf.js
|
@ -2894,6 +2894,8 @@ var Parser = (function() {
|
|||
if (IsArray(paramsArray) && (i in paramsArray))
|
||||
params = paramsArray[i];
|
||||
stream = this.makeFilter(stream, filter.name, length, params);
|
||||
// after the first stream the length variable is invalid
|
||||
length = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue