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

Git pushed a commit to branch master
in repository ffmpeg.

commit 62a93f0148f4d770dedfa98a056bdb3f200dc5cb
Author:     Marvin Scholz <[email protected]>
AuthorDate: Tue Feb 17 21:11:28 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

    avutil: replace fall-through comments
---
 libavutil/channel_layout.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/libavutil/channel_layout.c b/libavutil/channel_layout.c
index 2d7f70bf94..2d1ba8f5a9 100644
--- a/libavutil/channel_layout.c
+++ b/libavutil/channel_layout.c
@@ -32,6 +32,7 @@
 #include "bprint.h"
 #include "common.h"
 #include "error.h"
+#include "attributes.h"
 #include "macros.h"
 #include "mem.h"
 #include "opt.h"
@@ -608,7 +609,7 @@ int av_channel_layout_describe_bprint(const AVChannelLayout 
*channel_layout,
                 av_bprintf(bp, "%s", channel_layout_map[i].name);
                 return 0;
             }
-        // fall-through
+        av_fallthrough;
     case AV_CHANNEL_ORDER_CUSTOM:
         if (channel_layout->order == AV_CHANNEL_ORDER_CUSTOM) {
             int64_t mask;
@@ -639,7 +640,7 @@ int av_channel_layout_describe_bprint(const AVChannelLayout 
*channel_layout,
             av_bprintf(bp, ")");
             return 0;
         }
-        // fall-through
+        av_fallthrough;
     case AV_CHANNEL_ORDER_UNSPEC:
         av_bprintf(bp, "%d channels", channel_layout->nb_channels);
         return 0;
@@ -687,7 +688,7 @@ av_channel_layout_channel_from_index(const AVChannelLayout 
*channel_layout,
             return AV_CHAN_AMBISONIC_BASE + idx;
         idx -= ambi_channels;
         }
-    // fall-through
+        av_fallthrough;
     case AV_CHANNEL_ORDER_NATIVE:
         for (i = 0; i < 64; i++) {
             if ((1ULL << i) & channel_layout->u.mask && !idx--)
@@ -768,7 +769,7 @@ int av_channel_layout_index_from_string(const 
AVChannelLayout *channel_layout,
                 (ch == AV_CHAN_NONE || ch == channel_layout->u.map[i].id))
                 return i;
         }
-        // fall-through
+        av_fallthrough;
     case AV_CHANNEL_ORDER_AMBISONIC:
     case AV_CHANNEL_ORDER_NATIVE:
         ch = av_channel_from_string(str);

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

Reply via email to