extjs/dvr: Fix the null pointer dereference for dvr_charset
This commit is contained in:
parent
e9a22d9d89
commit
0af8c3e97d
1 changed files with 1 additions and 1 deletions
|
@ -1127,7 +1127,7 @@ extjs_dvr(http_connection_t *hc, const char *remain, void *opaque)
|
|||
|
||||
r = htsmsg_create_map();
|
||||
htsmsg_add_str(r, "storage", cfg->dvr_storage);
|
||||
htsmsg_add_str(r, "charset", cfg->dvr_charset);
|
||||
htsmsg_add_str(r, "charset", cfg->dvr_charset ? cfg->dvr_charset : "UTF-8");
|
||||
htsmsg_add_str(r, "container", muxer_container_type2txt(cfg->dvr_mc));
|
||||
|
||||
/* Convert integer permissions to an octal-format 0xxx string and store it in the config file */
|
||||
|
|
Loading…
Add table
Reference in a new issue