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
hankun
2016-11-09 10:14:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e0ab8b080d04a2e87ca711ff38e7aa2c234b3e7d
e0ab8b08
1 parent
8b00e56a
fix bug: fix the way calculating PCR for ts(#678)
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/src/kernel/srs_kernel_ts.cpp
trunk/src/kernel/srs_kernel_ts.cpp
查看文件 @
e0ab8b0
...
...
@@ -1202,7 +1202,7 @@ int SrsTsAdaptationField::encode(SrsStream* stream)
// @see https://github.com/ossrs/srs/issues/250#issuecomment-71349370
int64_t
pcrv
=
program_clock_reference_extension
&
0x1ff
;
pcrv
|=
(
const1_value0
<<
9
)
&
0x7E00
;
pcrv
|=
(
program_clock_reference_base
<<
15
)
&
0x
1FFFFFFFF000
000LL
;
pcrv
|=
(
program_clock_reference_base
<<
15
)
&
0x
FFFFFFFF8
000LL
;
pp
=
(
char
*
)
&
pcrv
;
*
p
++
=
pp
[
5
];
...
...
请
注册
或
登录
后发表评论