avformat/img2dec: Move DQT after unrelated if()

Fixes: CID1494636 Missing break in switch

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7d04c6016b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2024-06-03 00:28:16 +02:00
parent 296d2e6f3c
commit 047d7dca52
No known key found for this signature in database
GPG key ID: B18E8928B3948D64

View file

@ -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;