From 0f3fe9e2bf85fc8be6ad96eef26f527a7a3fdba2 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Wed, 18 Feb 2026 00:26:01 +0100 Subject: [PATCH] avcodec/avs: add fall-through annotations --- libavcodec/avs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/avs.c b/libavcodec/avs.c index b53175f640..42fc99cb56 100644 --- a/libavcodec/avs.c +++ b/libavcodec/avs.c @@ -23,6 +23,7 @@ #include "codec_internal.h" #include "decode.h" #include "get_bits.h" +#include "libavutil/attributes.h" typedef struct AvsContext { AVFrame *frame; @@ -98,6 +99,7 @@ static int avs_decode_frame(AVCodecContext * avctx, AVFrame *picture, case AVS_I_FRAME: p->pict_type = AV_PICTURE_TYPE_I; p->flags |= AV_FRAME_FLAG_KEY; + av_fallthrough; case AVS_P_FRAME_3X3: vect_w = 3; vect_h = 3;