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

Git pushed a commit to branch master
in repository ffmpeg.

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

    swscale/yuv2rgb: add fall-through annotations
---
 libswscale/yuv2rgb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index c62201856d..428f5e59ee 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -591,6 +591,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsInternal *c)
         case AV_PIX_FMT_ABGR:
             if (CONFIG_SWSCALE_ALPHA && isALPHA(c->opts.src_format))
                 return yuva422p_argb_c;
+            av_fallthrough;
         case AV_PIX_FMT_RGBA:
         case AV_PIX_FMT_BGRA:
             return (CONFIG_SWSCALE_ALPHA && isALPHA(c->opts.src_format)) ? 
yuva422p_rgba_c : yuv422p_rgb32_c;
@@ -633,6 +634,7 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsInternal *c)
         case AV_PIX_FMT_ABGR:
             if (CONFIG_SWSCALE_ALPHA && isALPHA(c->opts.src_format))
                 return yuva2argb_c;
+            av_fallthrough;
         case AV_PIX_FMT_RGBA:
         case AV_PIX_FMT_BGRA:
             return (CONFIG_SWSCALE_ALPHA && isALPHA(c->opts.src_format)) ? 
yuva2rgba_c : yuv2rgb_c_32;

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

Reply via email to