From 9eeca76cbe7e97cdb0f1f0106f0f59e1d862edba Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 28 Apr 2026 20:24:04 +0200 Subject: [PATCH] avcodec/vdpau_mpeg12: Use av_fallthrough to mark fallthrough Reviewed-by: Ramiro Polla Signed-off-by: Andreas Rheinhardt --- libavcodec/vdpau_mpeg12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vdpau_mpeg12.c b/libavcodec/vdpau_mpeg12.c index 4d16f18089..b3ac94f217 100644 --- a/libavcodec/vdpau_mpeg12.c +++ b/libavcodec/vdpau_mpeg12.c @@ -51,7 +51,7 @@ static int vdpau_mpeg_start_frame(AVCodecContext *avctx, ref = ff_vdpau_get_surface_id(s->next_pic.ptr->f); assert(ref != VDP_INVALID_HANDLE); info->backward_reference = ref; - /* fall through to forward prediction */ + av_fallthrough; case AV_PICTURE_TYPE_P: ref = ff_vdpau_get_surface_id(s->last_pic.ptr->f); info->forward_reference = ref;