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

Git pushed a commit to branch master
in repository ffmpeg.

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

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

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 2a3cff1210..a8ae260138 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -25,6 +25,7 @@
 #include "internal.h"
 #include "avi.h"
 #include "avio_internal.h"
+#include "libavutil/attributes.h"
 #include "riff.h"
 #include "mpegts.h"
 #include "mux.h"
@@ -369,6 +370,7 @@ static int avi_write_header(AVFormatContext *s)
                 avpriv_report_missing_feature(s, "Subtitle streams other than 
DivX XSUB");
                 return AVERROR_PATCHWELCOME;
             }
+            av_fallthrough;
         case AVMEDIA_TYPE_VIDEO:
             ffio_wfourcc(pb, "vids");
             break;
@@ -446,6 +448,7 @@ static int avi_write_header(AVFormatContext *s)
                  * are not (yet) supported. */
                 if (par->codec_id != AV_CODEC_ID_XSUB)
                     break;
+                av_fallthrough;
             case AVMEDIA_TYPE_VIDEO:
                 /* WMP expects RGB 5:5:5 rawvideo in avi to have bpp set to 
16. */
                 if (  !par->codec_tag

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

Reply via email to