From e92c4076d6af319455479e7de313d314259608b9 Mon Sep 17 00:00:00 2001 From: Marvin Scholz Date: Tue, 17 Feb 2026 21:55:43 +0100 Subject: [PATCH] avcodec/vmnc: add fall-through annotations --- libavcodec/vmnc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index 6188aa7158..162e8ee9bb 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -25,6 +25,7 @@ * As Alex Beregszaszi discovered, this is effectively RFB data dump */ +#include "libavutil/attributes.h" #include "libavutil/common.h" #include "libavutil/mem.h" #include "avcodec.h" @@ -542,6 +543,7 @@ static av_cold int decode_init(AVCodecContext *avctx) /* 24 bits is not technically supported, but some clients might * mistakenly set it, so let's assume they actually meant 32 bits */ c->bpp = 32; + av_fallthrough; case 32: avctx->pix_fmt = AV_PIX_FMT_0RGB32; break;