This commit is contained in:
Andrew Murray 2025-08-12 12:19:29 +03:00 committed by GitHub
commit 7ec73ff264
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -870,8 +870,6 @@ PyImaging_Jpeg2KDecoderNew(PyObject *self, PyObject *args) {
if (strcmp(format, "j2k") == 0) {
codec_format = OPJ_CODEC_J2K;
} else if (strcmp(format, "jpt") == 0) {
codec_format = OPJ_CODEC_JPT;
} else if (strcmp(format, "jp2") == 0) {
codec_format = OPJ_CODEC_JP2;
} else {