mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
fix bug of hls conf detect
This commit is contained in:
parent
3877ab0ff2
commit
005f821441
1 changed files with 1 additions and 1 deletions
|
@ -689,7 +689,7 @@ int SrsHls::reopen()
|
|||
|
||||
// try to open the HLS muxer
|
||||
SrsConfDirective* conf = config->get_hls(vhost);
|
||||
if (!conf || conf->arg0() == "off") {
|
||||
if (conf && conf->arg0() == "off") {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue