mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix crash bug for hls cleanup.
This commit is contained in:
parent
eb54ec25c9
commit
c4466a8c0c
1 changed files with 1 additions and 1 deletions
|
@ -3414,7 +3414,7 @@ bool SrsConfig::get_hls_cleanup(string vhost)
|
||||||
|
|
||||||
SrsConfDirective* conf = hls->get("hls_cleanup");
|
SrsConfDirective* conf = hls->get("hls_cleanup");
|
||||||
|
|
||||||
if (!conf && conf->arg0() != "off") {
|
if (conf && conf->arg0() != "off") {
|
||||||
return SRS_CONF_DEFAULT_HLS_CLEANUP;
|
return SRS_CONF_DEFAULT_HLS_CLEANUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue