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
2013-11-27 23:02:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1653e444dd88fdbfa5ea851fcb6003f8f3728476
1653e444
1 parent
90af450d
add comments for auto ptr message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
trunk/src/core/srs_core_protocol.cpp
trunk/src/core/srs_core_protocol.cpp
查看文件 @
1653e44
...
...
@@ -1375,6 +1375,7 @@ int SrsSharedPtrMessage::initialize(ISrsMessage* msg, char* payload, int size)
ptr
=
new
SrsSharedPtr
();
// should copy the payload once
// TODO: maybe can directly attach the common message.
ptr
->
payload
=
new
char
[
size
];
memcpy
(
ptr
->
payload
,
payload
,
size
);
ptr
->
size
=
size
;
...
...
请
注册
或
登录
后发表评论