This website works better with JavaScript.
Home
Explore
Help
Sign In
shenmc
/
bitstream
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Issue with bit 33 in PCR
Corrected issue of lost bit in PCR due to bit shift more then 32 bit.
master
Vladimir Yakovlev
13 years ago
committed by
Georgi Chorbadzhiyski
parent
5c1df10a2d
commit
d3c573a676
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mpeg/ts.h
+ 1
- 1
mpeg/ts.h
View File
@ -250,7 +250,7 @@ static inline bool tsaf_has_pcr(const uint8_t *p_ts)
static
inline
uint64_t
tsaf_get_pcr
(
const
uint8_t
*
p_ts
)
{
return
(
p_ts
[
6
]
<
<
25
)
|
(
p_ts
[
7
]
<
<
17
)
|
(
p_ts
[
8
]
<
<
9
)
|
(
p_ts
[
9
]
<
<
1
)
|
return
(
(
uint64_t
)
p_ts
[
6
]
<
<
25
)
|
(
p_ts
[
7
]
<
<
17
)
|
(
p_ts
[
8
]
<
<
9
)
|
(
p_ts
[
9
]
<
<
1
)
|
(
p_ts
[
10
]
>
>
7
)
;
}
Write
Preview
Loading…
Cancel
Save