summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-09-27 11:19:24 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-10-20 18:22:47 +0200
commitcc6be9c3577168805ec34b2d396e63361012282b (patch)
tree7dc794b08a1a6a786d540516c623cb1eebfb1863 /base/sdeparam.c
parentImport Ghostscript 9.54 (diff)
downloadghostscript-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.c4
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, &params, s_DCTE_param_items);
+ code = gs_param_read_items(plist, &params, 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;