summaryrefslogtreecommitdiffstats
path: root/libhb/hb_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/hb_json.c')
-rw-r--r--libhb/hb_json.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c
index ec2a8cae1..f9a4a3aa1 100644
--- a/libhb/hb_json.c
+++ b/libhb/hb_json.c
@@ -1374,9 +1374,7 @@ int hb_add_json( hb_handle_t * h, const char * json_job )
hb_job_t job;
job.json = json_job;
- hb_add(h, &job);
-
- return 0;
+ return hb_add(h, &job);
}