Commit 6d42b9a7fb22ba29227fe50d10ab643afaa1158c

Authored by m-holger
Committed by GitHub
2 parents 30893015 dbae9496

Merge pull request #1549 from m-holger/pr1546

Remove redundant call to `setRecompressFlate(false)` in QPDFJob::doCh…
Showing 1 changed file with 0 additions and 2 deletions
libqpdf/QPDFJob.cc
... ... @@ -796,8 +796,6 @@ QPDFJob::doCheck(QPDF& pdf)
796 796 // Disable compression of streams, since we only need to confirm we can decode them. This
797 797 // avoids JPEG DCT -> Flate recompression of all images.
798 798 w.setCompressStreams(false);
799   - // Also disable recompression of Flate streams since are only checking.
800   - w.setRecompressFlate(false);
801 799 w.write();
802 800  
803 801 // Parse all content streams
... ...