mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
413b07402e
commit
c81fd6fd6d
|
@ -773,7 +773,6 @@ static int jpeg_probe(const AVProbeData *p)
|
|||
return 0;
|
||||
state = EOI;
|
||||
break;
|
||||
case DQT:
|
||||
case APP0:
|
||||
case APP1:
|
||||
case APP2:
|
||||
|
@ -790,6 +789,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