mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Fetches params in makeFilter
This commit is contained in:
parent
b3be74d81c
commit
aa8d3d98f8
4 changed files with 12 additions and 1 deletions
|
@ -346,6 +346,9 @@ var Parser = (function ParserClosure() {
|
|||
return new NullStream(stream);
|
||||
}
|
||||
try {
|
||||
if (params) {
|
||||
params = this.fetchIfRef(params);
|
||||
}
|
||||
var xrefStreamStats = this.xref.stats.streamTypes;
|
||||
if (name === 'FlateDecode' || name === 'Fl') {
|
||||
xrefStreamStats[StreamType.FLATE] = true;
|
||||
|
@ -386,7 +389,6 @@ var Parser = (function ParserClosure() {
|
|||
}
|
||||
if (name === 'CCITTFaxDecode' || name === 'CCF') {
|
||||
xrefStreamStats[StreamType.CCF] = true;
|
||||
params = this.fetchIfRef(params);
|
||||
return new CCITTFaxStream(stream, maybeLength, params);
|
||||
}
|
||||
if (name === 'RunLengthDecode' || name === 'RL') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue