1
0
Fork 0
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:
eug48 2013-05-10 13:26:28 +10:00
parent bae7b54f5f
commit c195daf85e
3 changed files with 7 additions and 7 deletions

View file

@ -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) {