[Pkg-javascript-commits] [pdf.js] 24/204: CCITTFaxStream parser: resolve xref if needed

David Prévot taffit at moszumanska.debian.org
Sat Oct 25 18:50:26 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 07a4837763bf64dbbc51c00161940db74dcddc75
Author: Rob Wu <rob at robwu.nl>
Date:   Sun Aug 31 11:03:24 2014 +0200

    CCITTFaxStream parser: resolve xref if needed
    
    Fixes #5243
---
 src/core/parser.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/core/parser.js b/src/core/parser.js
index 1f78d22..1ffe893 100644
--- a/src/core/parser.js
+++ b/src/core/parser.js
@@ -386,6 +386,7 @@ 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') {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list