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
2014-01-05 16:54:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
29a97152fa6be615954838a99256515798f06d06
29a97152
1 parent
b54aefe8
fix bug of compile ts_info on old gcc, add LL to large number.
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
trunk/research/hls/ts_info.cc
trunk/research/hls/ts_info.cc
查看文件 @
29a9715
...
...
@@ -848,11 +848,11 @@ int TSAdaptionField::demux(TSContext* ctx, TSPacket* pkt, u_int8_t* start, u_int
pp
[
0
]
=
*
p
++
;
program_clock_reference_extension
=
program_clock_reference_base
&
0x1ff
;
program_clock_reference_base
=
(
program_clock_reference_base
>>
15
)
&
0x1ffffffff
;
program_clock_reference_base
=
(
program_clock_reference_base
>>
15
)
&
0x1ffffffff
LL
;
// high 9bits
pcr
=
program_clock_reference_extension
;
pcr
=
(
pcr
<<
33
)
&
0x3fe00000000
;
pcr
=
(
pcr
<<
33
)
&
0x3fe00000000
LL
;
// low 33bits
pcr
|=
program_clock_reference_base
;
}
...
...
@@ -866,11 +866,11 @@ int TSAdaptionField::demux(TSContext* ctx, TSPacket* pkt, u_int8_t* start, u_int
pp
[
0
]
=
*
p
++
;
original_program_clock_reference_extension
=
original_program_clock_reference_base
&
0x1ff
;
original_program_clock_reference_base
=
(
original_program_clock_reference_base
>>
15
)
&
0x1ffffffff
;
original_program_clock_reference_base
=
(
original_program_clock_reference_base
>>
15
)
&
0x1ffffffff
LL
;
// high 9bits
original_pcr
=
program_clock_reference_extension
;
original_pcr
=
(
original_pcr
<<
33
)
&
0x3fe00000000
;
original_pcr
=
(
original_pcr
<<
33
)
&
0x3fe00000000
LL
;
// low 33bits
original_pcr
|=
program_clock_reference_base
;
}
...
...
请
注册
或
登录
后发表评论