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

Git pushed a commit to branch master
in repository ffmpeg.

commit e4f6aa86113336333c1ad38f3ee839402f8d8279
Author:     Marvin Scholz <[email protected]>
AuthorDate: Fri Feb 20 01:22:13 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

    avcodec/wmadec: add fall-through annotations
---
 libavcodec/wmadec.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c
index c5f7eed538..65bd3845fd 100644
--- a/libavcodec/wmadec.c
+++ b/libavcodec/wmadec.c
@@ -354,9 +354,10 @@ static int decode_exp_vlc(WMACodecContext *s, int ch)
         max_scale = v;
         n         = *ptr++;
         switch (n & 3) do {
-        case 0: *q++ = iv;
-        case 3: *q++ = iv;
-        case 2: *q++ = iv;
+        av_fallthrough;
+        case 0: *q++ = iv; av_fallthrough;
+        case 3: *q++ = iv; av_fallthrough;
+        case 2: *q++ = iv; av_fallthrough;
         case 1: *q++ = iv;
         } while ((n -= 4) > 0);
     } else
@@ -377,9 +378,10 @@ static int decode_exp_vlc(WMACodecContext *s, int ch)
             max_scale = v;
         n = *ptr++;
         switch (n & 3) do {
-        case 0: *q++ = iv;
-        case 3: *q++ = iv;
-        case 2: *q++ = iv;
+        av_fallthrough;
+        case 0: *q++ = iv; av_fallthrough;
+        case 3: *q++ = iv; av_fallthrough;
+        case 2: *q++ = iv; av_fallthrough;
         case 1: *q++ = iv;
         } while ((n -= 4) > 0);
     }

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

Reply via email to