2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 07:12:28 +00:00

ignore /DecodeParms when it's not a dictionary

git-svn-id: svn+q:///qpdf/trunk@672 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
Jay Berkenbilt 2009-05-03 16:31:16 +00:00
parent 9851f92c53
commit 88f44896a3

View File

@ -143,8 +143,8 @@ QPDF_Stream::filterable(std::vector<std::string>& filters,
} }
else else
{ {
throw QPDFExc(qpdf->getFilename(), this->offset, // Ignore for now -- some filter types, like CCITTFaxDecode,
"invalid decode parameters object type for this stream"); // use types other than dictionary for this.
} }
if ((predictor > 1) && (columns == 0)) if ((predictor > 1) && (columns == 0))