avcodec/nvenc: Fix typo: 1204 -> 1024

Fixes Ticket4508

Signed-off-by: Philip Langdale <philipl@overt.org>
This commit is contained in:
Philip Langdale 2015-05-26 18:35:15 -07:00
parent 023040ed0d
commit 7ae805db70
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}