正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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 |
-
请 注册 或 登录 后发表评论