Fixing truncated streams with multiple filters

This commit is contained in:
notmasteryet 2011-09-13 22:03:46 -05:00
parent a78704567c
commit 361d53e1a9

2
pdf.js
View File

@ -2892,6 +2892,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;
}
}
}