diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-09-27 11:19:24 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-10-20 18:22:47 +0200 |
commit | cc6be9c3577168805ec34b2d396e63361012282b (patch) | |
tree | 7dc794b08a1a6a786d540516c623cb1eebfb1863 /base/sdeparam.c | |
parent | Import Ghostscript 9.54 (diff) | |
download | ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.tar.gz ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.tar.bz2 ghostscript-gpl-patches-cc6be9c3577168805ec34b2d396e63361012282b.zip |
Import Ghostscript 9.55ghostscript-9.55
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'base/sdeparam.c')
-rw-r--r-- | base/sdeparam.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/base/sdeparam.c b/base/sdeparam.c index 8eaf44cd..b9b33094 100644 --- a/base/sdeparam.c +++ b/base/sdeparam.c @@ -196,7 +196,7 @@ s_DCTE_put_params(gs_param_list * plist, stream_DCT_state * pdct) * Required parameters for DCTEncode. * (DCTDecode gets the equivalent info from the SOF marker.) */ - code = gs_param_read_items(plist, ¶ms, s_DCTE_param_items); + code = gs_param_read_items(plist, ¶ms, s_DCTE_param_items, NULL); if (code < 0) return code; if (params.Columns <= 0 || params.Columns > 0xffff || @@ -277,6 +277,8 @@ s_DCTE_put_params(gs_param_list * plist, stream_DCT_state * pdct) break; } /* Optional encoding-only parameters */ + /* FIXME: This relies on the 'Markers' value in the param list + * being persistent enough. */ pdct->Markers.data = params.Markers.data; pdct->Markers.size = params.Markers.size; pdct->NoMarker = params.NoMarker; |