From 07be0d26baa2bb7dc4aaf1e678575e0de97073a4 Mon Sep 17 00:00:00 2001 From: scaramallion Date: Mon, 17 May 2021 07:09:13 +1000 Subject: [PATCH] Re-add explicit default MCT value --- src/encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encode.c b/src/encode.c index b72840a8e..72c7f64d0 100644 --- a/src/encode.c +++ b/src/encode.c @@ -1187,7 +1187,7 @@ PyImaging_Jpeg2KEncoderNew(PyObject *self, PyObject *args) { OPJ_PROG_ORDER prog_order; char *cinema_mode = "no"; OPJ_CINEMA_MODE cine_mode; - char mct; + char mct = 0; Py_ssize_t fd = -1; if (!PyArg_ParseTuple(