avcodec/nvenc: Fix typo: 1204 -> 1024
authorPhilip Langdale <philipl@overt.org>
Wed, 27 May 2015 01:35:15 +0000 (18:35 -0700)
committerPhilip Langdale <philipl@overt.org>
Wed, 27 May 2015 01:36:13 +0000 (18:36 -0700)
Fixes Ticket4508

Signed-off-by: Philip Langdale <philipl@overt.org>
libavcodec/nvenc.c

index de082d1..0a418a7 100644 (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;
     }