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-20 20:41:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
974af0605b588fec72a183e47d7524188778b404
974af060
1 parent
bc8828a7
fix protocol decode PCUC packet bug, requires 4bytes
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/src/core/srs_core_protocol.cpp
trunk/src/core/srs_core_protocol.cpp
查看文件 @
974af06
...
...
@@ -2632,7 +2632,7 @@ int SrsUserControlPacket::decode(SrsStream* stream)
event_data
=
stream
->
read_4bytes
();
if
(
event_type
==
SrcPCUCSetBufferLength
)
{
if
(
!
stream
->
require
(
2
))
{
if
(
!
stream
->
require
(
4
))
{
ret
=
ERROR_RTMP_MESSAGE_ENCODE
;
srs_error
(
"decode user control packet failed. ret=%d"
,
ret
);
return
ret
;
...
...
请
注册
或
登录
后发表评论