From 884c05605933ec960681da22232daa6baba1182b Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Tue, 28 Apr 2026 16:13:07 +0200 Subject: [PATCH] avcodec/lcevc_parser: replace fall-through comment with annotation --- libavcodec/lcevc_parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/lcevc_parser.c b/libavcodec/lcevc_parser.c index ce1635edb9..d3d6c38bd3 100644 --- a/libavcodec/lcevc_parser.c +++ b/libavcodec/lcevc_parser.c @@ -18,6 +18,7 @@ #include +#include "libavutil/attributes.h" #include "libavutil/mem.h" #include "avcodec.h" @@ -188,7 +189,7 @@ static int parse_nal_units(AVCodecParserContext *s, const uint8_t *buf, switch (nal->type) { case LCEVC_IDR_NUT: s->key_frame = 1; - // fall-through + av_fallthrough; case LCEVC_NON_IDR_NUT: parse_nal_unit(s, avctx, nal); break;