aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/SF_FlateLzwDecode.cc
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2023-11-22 17:15:09 +0100
committerm-holger <m-holger@kubitscheck.org>2023-11-23 02:51:38 +0100
commit9146f1f0fddccdcc874df3019ddd54c83b61faee (patch)
tree0d8aa435a942da042ac9c0d463d58570083554ac /libqpdf/SF_FlateLzwDecode.cc
parent81823f4032caefd1050bccb207d315839c1c48db (diff)
downloadqpdf-9146f1f0fddccdcc874df3019ddd54c83b61faee.tar.zst
Change default for SF_FlateLzwDecode::columns to 1
Diffstat (limited to 'libqpdf/SF_FlateLzwDecode.cc')
-rw-r--r--libqpdf/SF_FlateLzwDecode.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/SF_FlateLzwDecode.cc b/libqpdf/SF_FlateLzwDecode.cc
index db663429..a291145f 100644
--- a/libqpdf/SF_FlateLzwDecode.cc
+++ b/libqpdf/SF_FlateLzwDecode.cc
@@ -11,7 +11,7 @@ SF_FlateLzwDecode::SF_FlateLzwDecode(bool lzw) :
lzw(lzw),
// Initialize values to their defaults as per the PDF spec
predictor(1),
- columns(0),
+ columns(1),
colors(1),
bits_per_component(8),
early_code_change(true)