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

Git pushed a commit to branch master
in repository ffmpeg.

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

    avcodec/microdvddec: add fall-through annotations
---
 libavcodec/microdvddec.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libavcodec/microdvddec.c b/libavcodec/microdvddec.c
index a46a62e45f..55e892562c 100644
--- a/libavcodec/microdvddec.c
+++ b/libavcodec/microdvddec.c
@@ -26,6 +26,7 @@
  * https://trac.videolan.org/vlc/ticket/1825#comment:6
  */
 
+#include "libavutil/attributes.h"
 #include "libavutil/avstring.h"
 #include "libavutil/parseutils.h"
 #include "libavutil/bprint.h"
@@ -99,6 +100,7 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, 
char *s)
         /* Style */
         case 'Y':
             tag.persistent = MICRODVD_PERSISTENT_ON;
+            av_fallthrough;
         case 'y':
             while (*s && *s != '}' && s - start < 256) {
                 int style_index = indexof(MICRODVD_STYLES, *s);
@@ -117,6 +119,7 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, 
char *s)
         /* Color */
         case 'C':
             tag.persistent = MICRODVD_PERSISTENT_ON;
+            av_fallthrough;
         case 'c':
             while (*s == '$' || *s == '#')
                 s++;
@@ -129,6 +132,7 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, 
char *s)
         /* Font name */
         case 'F':
             tag.persistent = MICRODVD_PERSISTENT_ON;
+            av_fallthrough;
         case 'f': {
             int len = indexof(s, '}');
             if (len < 0)
@@ -143,6 +147,7 @@ static char *microdvd_load_tags(struct microdvd_tag *tags, 
char *s)
         /* Font size */
         case 'S':
             tag.persistent = MICRODVD_PERSISTENT_ON;
+            av_fallthrough;
         case 's':
             tag.data1 = strtol(s, &s, 10);
             if (*s != '}')

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

Reply via email to