mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
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> Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
f22b9dd5b8
commit
91c6668ff4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user