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
2017-02-25 11:18:54 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0059b1cf7aaab8261cfe4ca79779043fcc7df604
0059b1cf
1 parent
b0d16840
For #783, use directly free to replace auto free
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
1 行删除
trunk/conf/origin.conf
trunk/src/app/srs_app_source.cpp
trunk/conf/origin.conf
查看文件 @
0059b1c
...
...
@@ -6,5 +6,6 @@ listen 19350;
max_connections
1000
;
daemon
off
;
srs_log_tank
console
;
pid
./
objs
/
origin
.
pid
;
vhost
__
defaultVhost__
{
}
...
...
trunk/src/app/srs_app_source.cpp
查看文件 @
0059b1c
...
...
@@ -1873,7 +1873,6 @@ int SrsSource::on_video(SrsCommonMessage* shared_video)
if
(
!
m
)
{
return
ret
;
}
SrsAutoFree
(
SrsSharedPtrMessage
,
m
);
// consume the monotonically increase message.
if
(
m
->
is_audio
())
{
...
...
@@ -1881,6 +1880,7 @@ int SrsSource::on_video(SrsCommonMessage* shared_video)
}
else
{
ret
=
on_video_imp
(
m
);
}
srs_freep
(
m
);
return
ret
;
}
...
...
请
注册
或
登录
后发表评论