1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

fix crash bug for hls cleanup.

This commit is contained in:
winlin 2015-04-03 12:43:40 +08:00
parent eb54ec25c9
commit c4466a8c0c

View file

@ -3414,7 +3414,7 @@ bool SrsConfig::get_hls_cleanup(string vhost)
SrsConfDirective* conf = hls->get("hls_cleanup");
if (!conf && conf->arg0() != "off") {
if (conf && conf->arg0() != "off") {
return SRS_CONF_DEFAULT_HLS_CLEANUP;
}