mirror of
https://github.com/ossrs/srs.git
synced 2025-02-14 20:31:56 +00:00
fix bug of hls conf detect
This commit is contained in:
parent
4c4bbd0529
commit
3877ab0ff2
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