diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-08-19 15:18:14 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-08-21 23:44:22 +0200 |
commit | 9744414c66e3f85700ebc8b32d90f45ff97221bd (patch) | |
tree | 47abed5c4105fe3f0089ab9afdf1d053d806b39d /libqpdf/QPDF_linearization.cc | |
parent | ae90d2c485318beb8b4b938d09ffaf5c6f0a5e21 (diff) | |
download | qpdf-9744414c66e3f85700ebc8b32d90f45ff97221bd.tar.zst |
Enable finer grained control of stream decoding
This commit adds several API methods that enable control over which
types of filters QPDF will attempt to decode. It also adds support for
/RunLengthDecode and /DCTDecode filters for both encoding and
decoding.
Diffstat (limited to 'libqpdf/QPDF_linearization.cc')
-rw-r--r-- | libqpdf/QPDF_linearization.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_linearization.cc b/libqpdf/QPDF_linearization.cc index 424d6d6f..b05b1d4c 100644 --- a/libqpdf/QPDF_linearization.cc +++ b/libqpdf/QPDF_linearization.cc @@ -393,7 +393,7 @@ QPDF::readHintStream(Pipeline& pl, qpdf_offset_t offset, size_t length) this->file->getLastOffset(), "hint table length mismatch"); } - H.pipeStreamData(&pl, true, false, false); + H.pipeStreamData(&pl, 0, qpdf_dl_specialized); return Hdict; } |