diff options
author | John Stebbins <[email protected]> | 2019-09-09 08:45:28 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-09-09 08:45:28 -0700 |
commit | bb80d647552636a5035b99a612592f8f622ad466 (patch) | |
tree | ad52f40be00cc31f153a5528188367e36ecfac4b | |
parent | 22bfdde4ead0d5ec72d0e720a0fadc784517cc54 (diff) |
hb_json: fix subtitle import crash
make sure pointers in hb_subtitle_config_t are initialized to NULL
-rw-r--r-- | libhb/hb_json.c | 2 |
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; |