avcodec/qsvenc: Add av_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 21:22:59 +02:00
parent e1115751dd
commit da195b1e84
+2
View File
@@ -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;