avcodec/nvenc: Fix typo: 1204 -> 1024
Fixes Ticket4508 Signed-off-by: Philip Langdale <philipl@overt.org>
This commit is contained in:
@@ -680,7 +680,7 @@ static av_cold int nvenc_encode_init(AVCodecContext *avctx)
|
|||||||
av_reduce(&dw, &dh,
|
av_reduce(&dw, &dh,
|
||||||
ctx->init_encode_params.darWidth * 44,
|
ctx->init_encode_params.darWidth * 44,
|
||||||
ctx->init_encode_params.darHeight * 45,
|
ctx->init_encode_params.darHeight * 45,
|
||||||
1024 * 1204);
|
1024 * 1024);
|
||||||
ctx->init_encode_params.darHeight = dh;
|
ctx->init_encode_params.darHeight = dh;
|
||||||
ctx->init_encode_params.darWidth = dw;
|
ctx->init_encode_params.darWidth = dw;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user