aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/SF_FlateLzwDecode.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-12-16 17:50:17 +0100
committerGitHub <noreply@github.com>2023-12-16 17:50:17 +0100
commit290742b069756218cd9d2075ea18b9fa60fc56ca (patch)
treed672767c3866e4ea3ff13a38e0c6f033e8279d83 /libqpdf/SF_FlateLzwDecode.cc
parentb0b6d9f21fe77fb7b46469529bf252f0dbcaa551 (diff)
parent9146f1f0fddccdcc874df3019ddd54c83b61faee (diff)
downloadqpdf-290742b069756218cd9d2075ea18b9fa60fc56ca.tar.zst
Merge pull request #1070 from m-holger/flate
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)