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-12-28 17:39:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
190db758350f40cc701d9d7e8fa0c634c37e3a03
190db758
1 parent
86a7db0a
refine code for nx_json modify the data when loads.
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
trunk/src/protocol/srs_protocol_json.cpp
trunk/src/protocol/srs_protocol_json.cpp
查看文件 @
190db75
...
...
@@ -478,7 +478,9 @@ SrsJsonAny* SrsJsonAny::loads(char* str)
return
NULL
;
}
const
nx_json
*
o
=
nx_json_parse
(
str
,
0
);
// TODO: copy str for nx_json modify it.
string
s
=
str
;
const
nx_json
*
o
=
nx_json_parse
((
char
*
)
s
.
data
(),
0
);
SrsJsonAny
*
json
=
srs_json_parse_tree_nx_json
(
o
);
...
...
请
注册
或
登录
后发表评论