mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Remove stream.parameters which wasn't being set consistently. Fixes issue #2881.
This commit is contained in:
parent
bae7b54f5f
commit
c195daf85e
3 changed files with 7 additions and 7 deletions
|
@ -180,7 +180,7 @@ var Parser = (function ParserClosure() {
|
|||
if (cipherTransform)
|
||||
imageStream = cipherTransform.createStream(imageStream);
|
||||
imageStream = this.filter(imageStream, dict, length);
|
||||
imageStream.parameters = dict;
|
||||
imageStream.dict = dict;
|
||||
|
||||
this.buf2 = Cmd.get('EI');
|
||||
this.shift();
|
||||
|
@ -216,7 +216,7 @@ var Parser = (function ParserClosure() {
|
|||
if (cipherTransform)
|
||||
stream = cipherTransform.createStream(stream);
|
||||
stream = this.filter(stream, dict, length);
|
||||
stream.parameters = dict;
|
||||
stream.dict = dict;
|
||||
return stream;
|
||||
},
|
||||
filter: function Parser_filter(stream, dict, length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue