diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index de082d1fc7c90ab320c02a8515ed30443e85f22a..0a418a7a347280737c363897420c187495bf9708 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -680,7 +680,7 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx) av_reduce(&dw, &dh, ctx->init_encode_params.darWidth * 44, ctx->init_encode_params.darHeight * 45, - 1024 * 1204); + 1024 * 1024); ctx->init_encode_params.darHeight = dh; ctx->init_encode_params.darWidth = dw; }