Merge pull request 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

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