Commit 7ae805db authored by Philip Langdale's avatar Philip Langdale

avcodec/nvenc: Fix typo: 1204 -> 1024

Fixes Ticket4508
Signed-off-by: 's avatarPhilip Langdale <philipl@overt.org>
parent 023040ed
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment