Commit 88f44896a3c1501c2656c8818ac96fc2d41314cd
1 parent
9851f92c
ignore /DecodeParms when it's not a dictionary
git-svn-id: svn+q:///qpdf/trunk@672 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing
1 changed file
with
2 additions
and
2 deletions
libqpdf/QPDF_Stream.cc
| @@ -143,8 +143,8 @@ QPDF_Stream::filterable(std::vector<std::string>& filters, | @@ -143,8 +143,8 @@ QPDF_Stream::filterable(std::vector<std::string>& filters, | ||
| 143 | } | 143 | } |
| 144 | else | 144 | else |
| 145 | { | 145 | { |
| 146 | - throw QPDFExc(qpdf->getFilename(), this->offset, | ||
| 147 | - "invalid decode parameters object type for this stream"); | 146 | + // Ignore for now -- some filter types, like CCITTFaxDecode, |
| 147 | + // use types other than dictionary for this. | ||
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | if ((predictor > 1) && (columns == 0)) | 150 | if ((predictor > 1) && (columns == 0)) |