PR #23339 opened by mkver URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23339 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23339.patch
>From 271e149f94d778f9fe829bd7dbd3695526d5a0b0 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt <[email protected]> Date: Thu, 4 Jun 2026 19:19:41 +0200 Subject: [PATCH] avformat/shared: Fix av_fallthrough to mark fallthroughs Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavformat/shared.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/shared.c b/libavformat/shared.c index a7a85f41bd..0b02dd42be 100644 --- a/libavformat/shared.c +++ b/libavformat/shared.c @@ -21,6 +21,7 @@ * Based on cache.c by Michael Niedermayer */ +#include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/crc.h" @@ -639,7 +640,7 @@ retry: case BLOCK_FAILED: if (!s->retry_errors) return AVERROR(EIO); - /* fall through */ + av_fallthrough; case BLOCK_NONE: if (s->read_only) break; /* don't mark block as pending */ -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
