From 7ae805db709712a8953e84b8b59a717ff3ed9452 Mon Sep 17 00:00:00 2001
From: Philip Langdale <philipl@overt.org>
Date: Tue, 26 May 2015 18:35:15 -0700
Subject: [PATCH] avcodec/nvenc: Fix typo: 1204 -> 1024

Fixes Ticket4508

Signed-off-by: Philip Langdale <philipl@overt.org>
---
 libavcodec/nvenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index de082d1fc7c..0a418a7a347 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;
     }
-- 
GitLab