summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-04-07 18:56:10 +0000
committerjstebbins <[email protected]>2015-04-07 18:56:10 +0000
commitf80a6615f31b4106ea3229b21e30926fc423d91e (patch)
tree358920d15f2f10499f11bddcd435bddae53d2792 /libhb/hb_json.c
parent11d88373a0fadfa6321a3a85f28e00df88494d11 (diff)
json: fix copy_mask (again) :(
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7070 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r--libhb/hb_json.c2
1 files changed, 1 insertions, 1 deletions
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));