This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit cc863d68d7ef5f507916fdab71f02b9214a7120a Author: Marvin Scholz <[email protected]> AuthorDate: Tue Feb 17 19:58:23 2026 +0100 Commit: Marvin Scholz <[email protected]> CommitDate: Tue Apr 28 12:29:37 2026 +0000 avutil: add av_fallthrough --- libavutil/attributes.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libavutil/attributes.h b/libavutil/attributes.h index c9c74c28b6..cd4c4338c7 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -59,6 +59,14 @@ # define AV_HAS_STD_ATTRIBUTE(x) 0 #endif +#if AV_HAS_STD_ATTRIBUTE(fallthrough) +# define av_fallthrough [[fallthrough]] +#elif AV_HAS_ATTRIBUTE(fallthrough) +# define av_fallthrough __attribute__((fallthrough)) +#else +# define av_fallthrough do {} while(0) +#endif + #ifndef av_always_inline #if AV_GCC_VERSION_AT_LEAST(3,1) || defined(__clang__) # define av_always_inline __attribute__((always_inline)) inline _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
