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
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@ QPDF_Stream::filterable(std::vector<std::string>& 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))