From 95d24edb1c942ded3aea58e977888cc127455036 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Mon, 8 Jun 2015 18:27:37 +0000 Subject: [PATCH] encx265: fix regression introduced in SVN revision 6366. Unknown options and bad values were never fatal for any libhb encoder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7278 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encx265.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libhb/encx265.c b/libhb/encx265.c index e3160c589..ad9f5ff86 100644 --- a/libhb/encx265.c +++ b/libhb/encx265.c @@ -198,12 +198,8 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job) char *str = hb_value_get_string_xform(value); // here's where the strings are passed to libx265 for parsing - if (param_parse(param, key, str)) - { - free(str); - hb_dict_free(&x265_opts); - goto fail; - } + // unknown options or bad values are non-fatal, see encx264.c + param_parse(param, key, str); free(str); } hb_dict_free(&x265_opts); -- 2.40.0