1
0
Fork 0
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:
winlin 2013-11-28 09:14:31 +08:00
parent 4c4bbd0529
commit 3877ab0ff2

View file

@ -689,7 +689,7 @@ int SrsHls::reopen()
// try to open the HLS muxer // try to open the HLS muxer
SrsConfDirective* conf = config->get_hls(vhost); SrsConfDirective* conf = config->get_hls(vhost);
if (!conf && conf->arg0() == "off") { if (!conf || conf->arg0() == "off") {
return ret; return ret;
} }