winlin

fix bug of hls conf detect

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