avcodec/vdpau_mpeg12: Use av_fallthrough to mark fallthrough

Reviewed-by: Ramiro Polla <ramiro.polla@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2026-04-28 20:24:04 +02:00
parent 2d0d937ed2
commit 9eeca76cbe
+1 -1
View File
@@ -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;