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
2016-08-10 22:13:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
02fb0779be390d208a91568db74d02f14921e1c2
02fb0779
1 parent
e0092855
fix the microsec calc bug for librtmp
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
trunk/src/libs/srs_lib_simple_socket.cpp
trunk/src/libs/srs_lib_simple_socket.cpp
查看文件 @
02fb077
...
...
@@ -164,8 +164,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
{
SrsBlockSyncSocket
*
skt
=
(
SrsBlockSyncSocket
*
)
ctx
;
int
sec
=
timeout_us
/
(
1000
*
1000LL
);
int
microsec
=
timeout_us
/
1000LL
%
1000
;
int
sec
=
(
int
)(
timeout_us
/
1000000LL
);
int
microsec
=
(
int
)(
timeout_us
%
1000000LL
);
sec
=
srs_max
(
0
,
sec
);
microsec
=
srs_max
(
0
,
microsec
);
...
...
@@ -192,8 +192,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
{
SrsBlockSyncSocket
*
skt
=
(
SrsBlockSyncSocket
*
)
ctx
;
int
sec
=
timeout_us
/
(
1000
*
1000LL
);
int
microsec
=
timeout_us
/
1000LL
%
1000
;
int
sec
=
(
int
)(
timeout_us
/
1000000LL
);
int
microsec
=
(
int
)(
timeout_us
%
1000000LL
);
sec
=
srs_max
(
0
,
sec
);
microsec
=
srs_max
(
0
,
microsec
);
...
...
请
注册
或
登录
后发表评论