summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-09-09 08:45:28 -0700
committerJohn Stebbins <[email protected]>2019-09-09 08:45:28 -0700
commitbb80d647552636a5035b99a612592f8f622ad466 (patch)
treead52f40be00cc31f153a5528188367e36ecfac4b /libhb
parent22bfdde4ead0d5ec72d0e720a0fadc784517cc54 (diff)
hb_json: fix subtitle import crash
make sure pointers in hb_subtitle_config_t are initialized to NULL
Diffstat (limited to 'libhb')
-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 65b553c92..ace8e4310 100644
--- a/libhb/hb_json.c
+++ b/libhb/hb_json.c
@@ -1587,7 +1587,7 @@ hb_job_t* hb_dict_to_job( hb_handle_t * h, hb_dict_t *dict )
for (ii = 0; ii < count; ii++)
{
subtitle_dict = hb_value_array_get(subtitle_list, ii);
- hb_subtitle_config_t sub_config;
+ hb_subtitle_config_t sub_config = {0};
int track = -1;
int burn = 0;
const char *importfile = NULL;