diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2019-05-27 19:00:06 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2019-05-28 16:08:14 +0100 |
commit | 1a344ed8506e46e77a0c58aed57de69ce8f54a20 (patch) | |
tree | 176867d136c46d1adbd8c0fcdb8cb0212be17fb3 /base/scfparam.c | |
parent | c1739dcc6a8ceda1a5091c1b7dc8bb4870c6c76b (diff) | |
download | ghostpdl-1a344ed8506e46e77a0c58aed57de69ce8f54a20.tar.gz |
Bug 701083: Add key to treat errors as end of data when decoding images.
This specifically only applies to the CCITT decode filter at the
moment, but the key will be in place for all image decoders to look
at if required.
A following commit will cause the PDF interpreter to set this key
in the DecodeParms.
Diffstat (limited to 'base/scfparam.c')
-rw-r--r-- | base/scfparam.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/scfparam.c b/base/scfparam.c index 6295ed715..8f0952339 100644 --- a/base/scfparam.c +++ b/base/scfparam.c @@ -35,6 +35,7 @@ static const gs_param_item_t s_CF_param_items[] = cfp("Columns", gs_param_type_int, Columns), cfp("Rows", gs_param_type_int, Rows), cfp("EndOfBlock", gs_param_type_bool, EndOfBlock), + cfp("ErrsAsEOD", gs_param_type_bool, ErrsAsEOD), cfp("BlackIs1", gs_param_type_bool, BlackIs1), cfp("DamagedRowsBeforeError", gs_param_type_int, DamagedRowsBeforeError), cfp("FirstBitLowOrder", gs_param_type_bool, FirstBitLowOrder), |