Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-02-07 18:01:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
30b1759aa914a9476e49d90cb87fcd8740f3d6c8
30b1759a
1 parent
bdda337f
fix bug for memory hls.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
10 行增加
和
2 行删除
trunk/src/app/srs_app_http_conn.cpp
trunk/src/app/srs_app_http_conn.cpp
查看文件 @
30b1759
...
...
@@ -877,7 +877,11 @@ int SrsHttpServer::hls_update_m3u8(SrsRequest* r, string m3u8)
{
int
ret
=
ERROR_SUCCESS
;
srs_assert
(
hls
.
find
(
r
->
vhost
)
!=
hls
.
end
());
// when no hls mounted, ignore.
if
(
hls
.
find
(
r
->
vhost
)
==
hls
.
end
())
{
return
ret
;
}
SrsHlsEntry
*
entry
=
hls
[
r
->
vhost
];
srs_assert
(
entry
);
...
...
@@ -915,7 +919,11 @@ int SrsHttpServer::hls_update_ts(SrsRequest* r, string uri, string ts)
{
int
ret
=
ERROR_SUCCESS
;
srs_assert
(
hls
.
find
(
r
->
vhost
)
!=
hls
.
end
());
// when no hls mounted, ignore.
if
(
hls
.
find
(
r
->
vhost
)
==
hls
.
end
())
{
return
ret
;
}
SrsHlsEntry
*
entry
=
hls
[
r
->
vhost
];
srs_assert
(
entry
);
...
...
请
注册
或
登录
后发表评论