Skip to content

Commit 29309e4

Browse files
authored
Remove unused code (#9114)
2 parents ae65315 + 283dcfc commit 29309e4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/decode.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,8 +870,6 @@ PyImaging_Jpeg2KDecoderNew(PyObject *self, PyObject *args) {
870870

871871
if (strcmp(format, "j2k") == 0) {
872872
codec_format = OPJ_CODEC_J2K;
873-
} else if (strcmp(format, "jpt") == 0) {
874-
codec_format = OPJ_CODEC_JPT;
875873
} else if (strcmp(format, "jp2") == 0) {
876874
codec_format = OPJ_CODEC_JP2;
877875
} else {

0 commit comments

Comments
 (0)