Merge pull request #474 from notmasteryet/tree-15
Fixing truncated streams with multiple filters
This commit is contained in:
commit
4dd79a51c1
2
pdf.js
2
pdf.js
@ -2894,6 +2894,8 @@ var Parser = (function() {
|
|||||||
if (IsArray(paramsArray) && (i in paramsArray))
|
if (IsArray(paramsArray) && (i in paramsArray))
|
||||||
params = paramsArray[i];
|
params = paramsArray[i];
|
||||||
stream = this.makeFilter(stream, filter.name, length, params);
|
stream = this.makeFilter(stream, filter.name, length, params);
|
||||||
|
// after the first stream the length variable is invalid
|
||||||
|
length = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user