This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 7b94360e0ee780a8177531cb9a39e59eb9a0f1cb Author: Marvin Scholz <[email protected]> AuthorDate: Wed Feb 18 00:24:46 2026 +0100 Commit: Marvin Scholz <[email protected]> CommitDate: Tue Apr 28 12:29:37 2026 +0000 avcodec/cavs: add fall-through annotations --- libavcodec/cavs.h | 2 ++ libavcodec/cavsdec.c | 1 + 2 files changed, 3 insertions(+) diff --git a/libavcodec/cavs.h b/libavcodec/cavs.h index 944ede7036..d25864d530 100644 --- a/libavcodec/cavs.h +++ b/libavcodec/cavs.h @@ -25,6 +25,7 @@ #include <stddef.h> #include <stdint.h> +#include "libavutil/attributes.h" #include "libavutil/frame.h" #include "libavutil/mem_internal.h" @@ -257,6 +258,7 @@ static inline void set_mvs(cavs_vector *mv, enum cavs_block size) { case BLK_16X16: mv[MV_STRIDE ] = mv[0]; mv[MV_STRIDE+1] = mv[0]; + av_fallthrough; case BLK_16X8: mv[1] = mv[0]; break; diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index fffe0657f9..cc26a904db 100644 --- a/libavcodec/cavsdec.c +++ b/libavcodec/cavsdec.c @@ -1280,6 +1280,7 @@ static int cavs_decode_frame(AVCodecContext *avctx, AVFrame *rframe, av_frame_unref(h->DPB[1].f); h->got_keyframe = 1; } + av_fallthrough; case PIC_PB_START_CODE: if (frame_start > 1) return AVERROR_INVALIDDATA; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
