diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 2585634e7c..5f9f6d18d9 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -727,7 +727,6 @@ static int jpeg_probe(AVProbeData *p) return 0; state = EOI; break; - case DQT: case APP0: case APP1: case APP2: @@ -744,6 +743,7 @@ static int jpeg_probe(AVProbeData *p) case APP13: case APP14: case APP15: + case DQT: /* fallthrough */ case COM: i += AV_RB16(&b[i + 2]) + 1; break;