ffmpeg | branch: release/5.1 | Michael Niedermayer <mich...@niedermayer.cc> | Mon Jun 3 00:28:16 2024 +0200| [5f4036b66bb12c806b5d4e96254ea0e0d78ad6d0] | committer: Michael Niedermayer
avformat/img2dec: Move DQT after unrelated if() Fixes: CID1494636 Missing break in switch Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> (cherry picked from commit 7d04c6016b0971fecb890d3a0afe4e6706a1a68e) Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5f4036b66bb12c806b5d4e96254ea0e0d78ad6d0 --- libavformat/img2dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index e7ff26e5dd..23bfcd2bef 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -791,7 +791,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; @@ -812,6 +811,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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".