pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1668726 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/JBIG2Filter.java
Date Mon, 23 Mar 2015 20:38:22 GMT
Author: tilman
Date: Mon Mar 23 20:38:22 2015
New Revision: 1668726

URL: http://svn.apache.org/r1668726
Log:
PDFBOX-2726: use correct call to get decode_parms

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/JBIG2Filter.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/JBIG2Filter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/JBIG2Filter.java?rev=1668726&r1=1668725&r2=1668726&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/JBIG2Filter.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/filter/JBIG2Filter.java Mon Mar 23
20:38:22 2015
@@ -57,7 +57,7 @@ final class JBIG2Filter extends Filter
         result.getParameters().addAll(parameters);
 
         COSInteger bits = (COSInteger) parameters.getDictionaryObject(COSName.BITS_PER_COMPONENT);
-        COSDictionary params = (COSDictionary) parameters.getDictionaryObject(COSName.DECODE_PARMS);
+        COSDictionary params = getDecodeParams(parameters, index);
 
         COSStream globals = null;
         if (params != null)



Mime
View raw message