From f80a6615f31b4106ea3229b21e30926fc423d91e Mon Sep 17 00:00:00 2001 From: jstebbins Date: Tue, 7 Apr 2015 18:56:10 +0000 Subject: json: fix copy_mask (again) :( git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7070 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/hb_json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb') diff --git a/libhb/hb_json.c b/libhb/hb_json.c index a157fa7cb..680a7ea69 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -1119,7 +1119,7 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict ) } } } - if (hb_value_type(acodec_copy_mask) == HB_VALUE_TYPE_STRING) + else if (hb_value_type(acodec_copy_mask) == HB_VALUE_TYPE_STRING) { // Split the string at ',' char *s = strdup(hb_value_get_string(acodec_copy_mask)); -- cgit v1.2.3