[FFmpeg-cvslog] avformat/img2dec: Move DQT after unrelated if()
Michael Niedermayer
git at videolan.org
Fri Jun 14 22:21:05 EEST 2024
ffmpeg | branch: release/4.3 | Michael Niedermayer <michael at niedermayer.cc> | Mon Jun 3 00:28:16 2024 +0200| [c81fd6fd6db33dc612351e26466e68e6206aa741] | 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 <michael at niedermayer.cc>
(cherry picked from commit 7d04c6016b0971fecb890d3a0afe4e6706a1a68e)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c81fd6fd6db33dc612351e26466e68e6206aa741
---
libavformat/img2dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index ee7ceed08f..6a219ef697 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list