summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.c
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2015-05-26 18:35:15 -0700
committerPhilip Langdale <philipl@overt.org>2015-05-26 18:36:13 -0700
commit7ae805db709712a8953e84b8b59a717ff3ed9452 (patch)
treeb48713c9178f4104002d06e8d5846a43c0e1a160 /libavcodec/nvenc.c
parent023040ed0d26339d39151d4850eff6dde1716b6d (diff)
avcodec/nvenc: Fix typo: 1204 -> 1024
Fixes Ticket4508 Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/nvenc.c')
-rw-r--r--libavcodec/nvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index de082d1fc7..0a418a7a34 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;
}