[FFmpeg-cvslog] libx265: Remove redundant default param call

Derek Buitenhuis git at videolan.org
Fri Feb 14 21:37:31 CET 2014


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Thu Feb 13 20:49:24 2014 +0000| [4127e6aeb6e9ef53f5acf06e99c06f4b2c0cce34] | committer: Derek Buitenhuis

libx265: Remove redundant default param call

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4127e6aeb6e9ef53f5acf06e99c06f4b2c0cce34
---

 libavcodec/libx265.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 05ed143..9f2d310 100644
--- a/libavcodec/libx265.c
+++ b/libavcodec/libx265.c
@@ -93,7 +93,6 @@ static av_cold int libx265_encode_init(AVCodecContext *avctx)
         return AVERROR(ENOMEM);
     }
 
-    x265_param_default(ctx->params);
     if (x265_param_default_preset(ctx->params, ctx->preset, ctx->tune) < 0) {
         av_log(avctx, AV_LOG_ERROR, "Invalid preset or tune.\n");
         return AVERROR(EINVAL);



More information about the ffmpeg-cvslog mailing list