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

Git pushed a commit to branch master
in repository ffmpeg.

commit 3c5bb10a8729cb79b82e2de706eb755579fb2deb
Author:     Marvin Scholz <[email protected]>
AuthorDate: Tue Feb 17 21:18:57 2026 +0100
Commit:     Marvin Scholz <[email protected]>
CommitDate: Tue Apr 28 12:29:37 2026 +0000

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

diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 3cae57e5f6..de52923702 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/libavcodec/videotoolboxenc.c
@@ -26,6 +26,7 @@
 #include <TargetConditionals.h>
 #include <VideoToolbox/VideoToolbox.h>
 
+#include "libavutil/attributes.h"
 #include "libavutil/avassert.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/mem.h"
@@ -548,6 +549,7 @@ static CMVideoCodecType get_cm_codec_type(AVCodecContext 
*avctx,
 
         default:
             av_log(avctx, AV_LOG_ERROR, "Unknown profile ID: %d, using 
auto\n", profile);
+            av_fallthrough;
         case AV_PROFILE_UNKNOWN:
             if (desc &&
                 ((desc->flags & AV_PIX_FMT_FLAG_ALPHA) ||

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

Reply via email to