diff options
author | Rodeo <[email protected]> | 2015-06-08 18:27:37 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-06-08 18:27:37 +0000 |
commit | 95d24edb1c942ded3aea58e977888cc127455036 (patch) | |
tree | 83ff3da842beb744ee54e919a8875371a861ea71 /libhb/encx265.c | |
parent | 777687db76ec59b1a024aa1958edbfb23ec86b31 (diff) |
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
Diffstat (limited to 'libhb/encx265.c')
-rw-r--r-- | libhb/encx265.c | 8 |
1 files 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); |