Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
3a5d4f38
Commit
3a5d4f38
authored
Dec 22, 2009
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ps demux: fix overlook when fixing timestamps
parent
8049a708
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/demux/ps.h
modules/demux/ps.h
+10
-10
No files found.
modules/demux/ps.h
View file @
3a5d4f38
...
...
@@ -460,19 +460,19 @@ static inline int ps_pkt_parse_pes( block_t *p_pes, int i_skip_extra )
if
(
header
[
i_skip
]
&
0x20
)
{
p_pes
->
i_pts
=
((
mtime_t
)(
header
[
i_skip
]
&
0x0e
)
<<
29
)
|
(
mtime_t
)(
header
[
i_skip
+
1
]
<<
22
)
|
((
mtime_t
)(
header
[
i_skip
+
2
]
&
0xfe
)
<<
14
)
|
(
mtime_t
)(
header
[
i_skip
+
3
]
<<
7
)
|
(
mtime_t
)(
header
[
i_skip
+
4
]
>>
1
);
i_pts
=
((
mtime_t
)(
header
[
i_skip
]
&
0x0e
)
<<
29
)
|
(
mtime_t
)(
header
[
i_skip
+
1
]
<<
22
)
|
((
mtime_t
)(
header
[
i_skip
+
2
]
&
0xfe
)
<<
14
)
|
(
mtime_t
)(
header
[
i_skip
+
3
]
<<
7
)
|
(
mtime_t
)(
header
[
i_skip
+
4
]
>>
1
);
if
(
header
[
i_skip
]
&
0x10
)
/* has dts */
{
p_pes
->
i_dts
=
((
mtime_t
)(
header
[
i_skip
+
5
]
&
0x0e
)
<<
29
)
|
(
mtime_t
)(
header
[
i_skip
+
6
]
<<
22
)
|
((
mtime_t
)(
header
[
i_skip
+
7
]
&
0xfe
)
<<
14
)
|
(
mtime_t
)(
header
[
i_skip
+
8
]
<<
7
)
|
(
mtime_t
)(
header
[
i_skip
+
9
]
>>
1
);
i_dts
=
((
mtime_t
)(
header
[
i_skip
+
5
]
&
0x0e
)
<<
29
)
|
(
mtime_t
)(
header
[
i_skip
+
6
]
<<
22
)
|
((
mtime_t
)(
header
[
i_skip
+
7
]
&
0xfe
)
<<
14
)
|
(
mtime_t
)(
header
[
i_skip
+
8
]
<<
7
)
|
(
mtime_t
)(
header
[
i_skip
+
9
]
>>
1
);
i_skip
+=
10
;
}
else
...
...
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