Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
19676f4f
Commit
19676f4f
authored
Mar 06, 2001
by
Christophe Massiot
Browse files
* Fixed an alignment problem in PTS parsing.
parent
077cb1bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/mpeg_system.c
View file @
19676f4f
...
...
@@ -2,7 +2,7 @@
* mpeg_system.c: TS, PS and PES management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: mpeg_system.c,v 1.4
1
2001/03/0
5
1
6:00:30
massiot Exp $
* $Id: mpeg_system.c,v 1.4
2
2001/03/0
6
1
7:54:48
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Michel Lespinasse <walken@via.ecp.fr>
...
...
@@ -224,7 +224,8 @@ void input_ParsePES( input_thread_t * p_input, es_descriptor_t * p_es )
}
p_pes
->
i_pts
=
input_ClockGetTS
(
p_input
,
p_es
->
p_pgrm
,
(
((
mtime_t
)(
p_full_header
[
2
]
&
0x0E
)
<<
29
)
|
(((
mtime_t
)
U32_AT
(
p_full_header
+
2
)
&
0xFFFE00
)
<<
6
)
|
((
mtime_t
)(
p_full_header
[
3
])
<<
22
)
|
((
mtime_t
)(
p_full_header
[
4
]
&
0xFE
)
<<
14
)
|
((
mtime_t
)
p_full_header
[
5
]
<<
7
)
|
((
mtime_t
)
p_full_header
[
6
]
>>
1
)
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment