diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 2761cb37a4..51c238bdba 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -792,7 +792,6 @@ static int jpeg_probe(const AVProbeData *p) return 0; state = EOI; break; - case DQT: case APP0: if (AV_RL32(&b[i + 4]) == MKTAG('J','F','I','F')) got_header = 1; @@ -813,6 +812,7 @@ static int jpeg_probe(const AVProbeData *p) case APP13: case APP14: case APP15: + case DQT: /* fallthrough */ case COM: i += AV_RB16(&b[i + 2]) + 1; break;