summaryrefslogtreecommitdiff
path: root/libavcodec/libx265.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-02-13 20:49:24 +0000
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2014-02-14 14:27:45 +0000
commit4127e6aeb6e9ef53f5acf06e99c06f4b2c0cce34 (patch)
tree6210d82ba63e813c1e344f39dfd5809c0d163194 /libavcodec/libx265.c
parent41836c4e306e572ecf80d5a714aaec532c7ece60 (diff)
libx265: Remove redundant default param call
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/libx265.c')
-rw-r--r--libavcodec/libx265.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c
index 05ed143c80..9f2d310eb7 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);