[FFmpeg-cvslog] avcodec/nvenc: Fix typo: 1204 -> 1024
Philip Langdale
git at videolan.org
Wed May 27 03:36:28 CEST 2015
ffmpeg | branch: master | Philip Langdale <philipl at overt.org> | Tue May 26 18:35:15 2015 -0700| [7ae805db709712a8953e84b8b59a717ff3ed9452] | committer: Philip Langdale
avcodec/nvenc: Fix typo: 1204 -> 1024
Fixes Ticket4508
Signed-off-by: Philip Langdale <philipl at overt.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ae805db709712a8953e84b8b59a717ff3ed9452
---
libavcodec/nvenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c
index de082d1..0a418a7 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;
}
More information about the ffmpeg-cvslog
mailing list