From dbae9496da15612aa87dad3b64ee0f015871dd26 Mon Sep 17 00:00:00 2001 From: m-holger Date: Fri, 19 Sep 2025 20:02:53 +0100 Subject: [PATCH] Remove redundant call to `setRecompressFlate(false)` in QPDFJob::doCheck. --- libqpdf/QPDFJob.cc | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/libqpdf/QPDFJob.cc b/libqpdf/QPDFJob.cc index 81bded8..10d8b5f 100644 --- a/libqpdf/QPDFJob.cc +++ b/libqpdf/QPDFJob.cc @@ -796,8 +796,6 @@ QPDFJob::doCheck(QPDF& pdf) // Disable compression of streams, since we only need to confirm we can decode them. This // avoids JPEG DCT -> Flate recompression of all images. w.setCompressStreams(false); - // Also disable recompression of Flate streams since are only checking. - w.setRecompressFlate(false); w.write(); // Parse all content streams -- libgit2 0.21.4