From 25bc8390bb5013eb6f32dcbc28bb420135f3f1f9 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis <derek.buitenhuis@gmail.com> Date: Thu, 13 Feb 2014 20:49:24 +0000 Subject: libx265: Remove redundant default param call Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> --- libavcodec/libx265.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavcodec/libx265.c') diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 968683606d..3b9123704d 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); -- cgit v1.2.3