From 88f44896a3c1501c2656c8818ac96fc2d41314cd Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 3 May 2009 16:31:16 +0000 Subject: [PATCH] ignore /DecodeParms when it's not a dictionary --- libqpdf/QPDF_Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libqpdf/QPDF_Stream.cc b/libqpdf/QPDF_Stream.cc index 9694f83..482a3d4 100644 --- a/libqpdf/QPDF_Stream.cc +++ b/libqpdf/QPDF_Stream.cc @@ -143,8 +143,8 @@ QPDF_Stream::filterable(std::vector& filters, } else { - throw QPDFExc(qpdf->getFilename(), this->offset, - "invalid decode parameters object type for this stream"); + // Ignore for now -- some filter types, like CCITTFaxDecode, + // use types other than dictionary for this. } if ((predictor > 1) && (columns == 0)) -- libgit2 0.21.4