This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 97ff804e21d3acf580323ab2b94ff84bb299d627 Author: Marvin Scholz <[email protected]> AuthorDate: Wed Feb 18 00:26:40 2026 +0100 Commit: Marvin Scholz <[email protected]> CommitDate: Tue Apr 28 12:29:37 2026 +0000 avcodec/ac3dec: add fall-through annotations --- libavcodec/ac3dec.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 2f0e7f5344..6f7306ea59 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -31,6 +31,7 @@ #include <math.h> #include <string.h> +#include "libavutil/attributes.h" #include "libavutil/channel_layout.h" #include "libavutil/crc.h" #include "libavutil/downmix_info.h" @@ -338,7 +339,9 @@ static int decode_exponents(AC3DecodeContext *s, switch (group_size) { case 4: dexps[j++] = prevexp; dexps[j++] = prevexp; + av_fallthrough; case 2: dexps[j++] = prevexp; + av_fallthrough; case 1: dexps[j++] = prevexp; } } @@ -614,13 +617,16 @@ static void ac3_upmix_delay(AC3DecodeContext *s) break; case AC3_CHMODE_2F2R: memset(s->delay[3], 0, channel_data_size); + av_fallthrough; case AC3_CHMODE_2F1R: memset(s->delay[2], 0, channel_data_size); break; case AC3_CHMODE_3F2R: memset(s->delay[4], 0, channel_data_size); + av_fallthrough; case AC3_CHMODE_3F1R: memset(s->delay[3], 0, channel_data_size); + av_fallthrough; case AC3_CHMODE_3F: memcpy(s->delay[2], s->delay[1], channel_data_size); memset(s->delay[1], 0, channel_data_size); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
