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

Git pushed a commit to branch master
in repository ffmpeg.

commit d3fbc134295b1279d9c0c4a4b45043030c99ba9c
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Wed Jul 29 21:50:30 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Aug 10 19:52:19 2026 +0200

    fftools/ffplay: annotate intentional switch fall-throughs
    
    Both fall-throughs are deliberate: SDL_MOUSEBUTTONDOWN shares the cursor
    and seek handling of SDL_MOUSEMOTION, and a resize also needs the refresh
    done by SDL_WINDOWEVENT_EXPOSED. Silences -Wimplicit-fallthrough.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 fftools/ffplay.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 93eff33b0a..31dca9a7fa 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -30,6 +30,7 @@
 #include <signal.h>
 #include <stdint.h>
 
+#include "libavutil/attributes.h"
 #include "libavutil/avstring.h"
 #include "libavutil/channel_layout.h"
 #include "libavutil/mathematics.h"
@@ -3576,6 +3577,7 @@ static void event_loop(VideoState *cur_stream)
                     last_mouse_left_click = av_gettime_relative();
                 }
             }
+            av_fallthrough;
         case SDL_MOUSEMOTION:
             if (cursor_hidden) {
                 SDL_ShowCursor(1);
@@ -3627,6 +3629,7 @@ static void event_loop(VideoState *cur_stream)
                     }
                     if (vk_renderer)
                         vk_renderer_resize(vk_renderer, screen_width, 
screen_height);
+                    av_fallthrough;
                 case SDL_WINDOWEVENT_EXPOSED:
                     cur_stream->force_refresh = 1;
             }

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

Reply via email to