This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7e3e88d28d95c5925e751b33e294f4f6ddeb1b77 Author: Marvin Scholz <[email protected]> AuthorDate: Tue Feb 17 21:19:19 2026 +0100 Commit: Marvin Scholz <[email protected]> CommitDate: Tue Apr 28 12:29:37 2026 +0000 avutil/hwcontext_videotoolbox: add fall-through annotations --- libavutil/hwcontext_videotoolbox.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/hwcontext_videotoolbox.c b/libavutil/hwcontext_videotoolbox.c index 2764097413..0cb55bfb27 100644 --- a/libavutil/hwcontext_videotoolbox.c +++ b/libavutil/hwcontext_videotoolbox.c @@ -29,6 +29,7 @@ #include "hwcontext.h" #include "hwcontext_internal.h" #include "hwcontext_videotoolbox.h" +#include "attributes.h" #include "mem.h" #include "pixfmt.h" #include "pixdesc.h" @@ -462,6 +463,7 @@ CFStringRef av_map_videotoolbox_color_matrix_from_av(enum AVColorSpace space) #if HAVE_KCVIMAGEBUFFERTRANSFERFUNCTION_ITU_R_2100_HLG if (__builtin_available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)) return CVYCbCrMatrixGetStringForIntegerCodePoint(space); + av_fallthrough; #endif case AVCOL_SPC_UNSPECIFIED: return NULL; @@ -487,6 +489,7 @@ CFStringRef av_map_videotoolbox_color_primaries_from_av(enum AVColorPrimaries pr #if HAVE_KCVIMAGEBUFFERTRANSFERFUNCTION_ITU_R_2100_HLG if (__builtin_available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)) return CVColorPrimariesGetStringForIntegerCodePoint(pri); + av_fallthrough; #endif case AVCOL_PRI_UNSPECIFIED: return NULL; @@ -534,6 +537,7 @@ CFStringRef av_map_videotoolbox_color_trc_from_av(enum AVColorTransferCharacteri #if HAVE_KCVIMAGEBUFFERTRANSFERFUNCTION_ITU_R_2100_HLG if (__builtin_available(macOS 10.13, iOS 11, tvOS 11, watchOS 4, *)) return CVTransferFunctionGetStringForIntegerCodePoint(trc); + av_fallthrough; #endif case AVCOL_TRC_UNSPECIFIED: return NULL; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
