aboutsummaryrefslogtreecommitdiffstats
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-13 22:22:21 +0000
commit25bc8390bb5013eb6f32dcbc28bb420135f3f1f9 (patch)
tree40f1d7e7e27508335d67e78ea9086f2cacd960d7
parent955544e4d031bd8435cf8f55bdbfe1d0ede01469 (diff)
downloadffmpeg-25bc8390bb5013eb6f32dcbc28bb420135f3f1f9.tar.gz
libx265: Remove redundant default param call
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r--libavcodec/libx265.c1
1 files changed, 0 insertions, 1 deletions
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);