This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit f0e9854f79a62ca9fd66890b2e00e46bebd4a0e8
Author:     Marvin Scholz <[email protected]>
AuthorDate: Wed Feb 18 00:16:38 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

    avformat/avidec: add fall-through annotations
---
 libavformat/avidec.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index d7f8610628..eb9bfb15ea 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -23,6 +23,7 @@
 
 #include <inttypes.h>
 
+#include "libavutil/attributes.h"
 #include "libavutil/avassert.h"
 #include "libavutil/avstring.h"
 #include "libavutil/mem.h"
@@ -582,6 +583,7 @@ static int avi_read_header(AVFormatContext *s)
             break;
         case MKTAG('a', 'm', 'v', 'h'):
             amv_file_format = 1;
+            av_fallthrough;
         case MKTAG('a', 'v', 'i', 'h'):
             /* AVI header */
             /* using frame_period is bad idea */
@@ -1041,6 +1043,7 @@ static int avi_read_header(AVFormatContext *s)
                     return ret;
                 break;
             }
+            av_fallthrough;
         default:
             if (size > 1000000) {
                 av_log(s, AV_LOG_ERROR,
@@ -1054,6 +1057,7 @@ static int avi_read_header(AVFormatContext *s)
                 avi->movi_end  = avi->fsize;
                 goto end_of_header;
             }
+            av_fallthrough;
         /* Do not fail for very large idx1 tags */
         case MKTAG('i', 'd', 'x', '1'):
             /* skip tag */

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to