From da195b1e84c632bb9c01c83b644988a826f3f8f2 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 28 Apr 2026 21:22:59 +0200 Subject: [PATCH] avcodec/qsvenc: Add av_fallthrough Reviewed-by: Ramiro Polla Signed-off-by: Andreas Rheinhardt --- libavcodec/qsvenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index fc1b8795d8..0e957d1b91 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -904,6 +904,7 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q) if (q->extbrc) { q->extco2.LookAheadDepth = q->look_ahead_depth; } + av_fallthrough; #if QSV_HAVE_VCM case MFX_RATECONTROL_VCM: #endif @@ -949,6 +950,7 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q) break; case MFX_RATECONTROL_LA_ICQ: q->extco2.LookAheadDepth = q->look_ahead_depth; + av_fallthrough; case MFX_RATECONTROL_ICQ: q->param.mfx.ICQQuality = av_clip(avctx->global_quality, 1, 51); break;