From a384a4ff3aac484c49bd90dd38a9bd3ebaf3b0db Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Wed, 18 Feb 2026 00:26:22 +0100 Subject: [PATCH] avcodec/ansi: add fall-through annotations --- libavcodec/ansi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/ansi.c b/libavcodec/ansi.c index bde9edbe60..4ff015e2c0 100644 --- a/libavcodec/ansi.c +++ b/libavcodec/ansi.c @@ -24,6 +24,7 @@ * ASCII/ANSI art decoder */ +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "libavutil/frame.h" #include "libavutil/xga_font_data.h" @@ -396,6 +397,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *rframe, break; case 0x0A: //LF hscroll(avctx); + av_fallthrough; case 0x0D: //CR s->x = 0; break;