[FFmpeg-cvslog] qsvenc: fix typo
Haihao Xiang
git at videolan.org
Fri Apr 8 09:21:17 EEST 2022
ffmpeg | branch: master | Haihao Xiang <haihao.xiang-at-intel.com at ffmpeg.org> | Thu Apr 7 15:00:53 2022 +0800| [b2dd3e844d9e4d16cdd336157e07d3b2c9240017] | committer: Haihao Xiang
qsvenc: fix typo
Reviewed-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2dd3e844d9e4d16cdd336157e07d3b2c9240017
---
libavcodec/qsvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index 2514d5b256..fbb22ca436 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -1003,7 +1003,7 @@ static int init_video_param(AVCodecContext *avctx, QSVEncContext *q)
q->extco3.LowDelayBRC = q->low_delay_brc ? MFX_CODINGOPTION_ON : MFX_CODINGOPTION_OFF;
#endif
#if QSV_VERSION_ATLEAST(1, 19)
- if (q->max_frame_size_p >= 0)
+ if (q->max_frame_size_i >= 0)
q->extco3.MaxFrameSizeI = q->max_frame_size_i;
if (q->max_frame_size_p >= 0)
q->extco3.MaxFrameSizeP = q->max_frame_size_p;
More information about the ffmpeg-cvslog
mailing list