1
0
Fork 0
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:
Andreas Gal 2011-09-13 20:15:49 -07:00
commit 4dd79a51c1

2
pdf.js
View file

@ -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;
}
}
}