Skip to content

Commit d50b44c

Browse files
committed
improve helpfulness of jpeg error
1 parent 6fe19f7 commit d50b44c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared-module/jpegio/JpegDecoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static void check_jresult(JRESULT j) {
4646
msg = MP_ERROR_TEXT("Right format but not supported");
4747
break;
4848
case JDR_FMT3:
49-
msg = MP_ERROR_TEXT("Not supported JPEG standard");
49+
msg = MP_ERROR_TEXT("Unsupported JPEG (may be progressive)");
5050
break;
5151
}
5252
mp_raise_RuntimeError(msg);

0 commit comments

Comments
 (0)