Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
1570d3b9
Commit
1570d3b9
authored
Jan 30, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ps: lalalala, fixed a bug in dts/pts parsing.
parent
43ef6e10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/demux/ps.h
modules/demux/ps.h
+7
-7
No files found.
modules/demux/ps.h
View file @
1570d3b9
...
...
@@ -2,7 +2,7 @@
* ps.h: Program Stream demuxer helper
*****************************************************************************
* Copyright (C) 2004 VideoLAN
* $Id: ps.h,v 1.
4 2004/01/29 18:37:05
fenrir Exp $
* $Id: ps.h,v 1.
5 2004/01/30 01:09:24
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -239,15 +239,15 @@ static inline int ps_pkt_parse_pes( block_t *p_pes, int i_skip_extra )
(
mtime_t
)(
header
[
10
]
<<
22
)
|
((
mtime_t
)(
header
[
11
]
&
0xfe
)
<<
14
)
|
(
mtime_t
)(
header
[
12
]
<<
7
)
|
(
mtime_t
)(
header
[
1
2
]
>>
1
);
(
mtime_t
)(
header
[
1
3
]
>>
1
);
if
(
header
[
7
]
&
0x40
)
/* has dts */
{
p_pes
->
i_dts
=
((
mtime_t
)(
header
[
1
3
]
&
0x0e
)
<<
29
)
|
(
mtime_t
)(
header
[
1
4
]
<<
22
)
|
((
mtime_t
)(
header
[
1
5
]
&
0xfe
)
<<
14
)
|
(
mtime_t
)(
header
[
1
6
]
<<
7
)
|
(
mtime_t
)(
header
[
1
7
]
>>
1
);
p_pes
->
i_dts
=
((
mtime_t
)(
header
[
1
4
]
&
0x0e
)
<<
29
)
|
(
mtime_t
)(
header
[
1
5
]
<<
22
)
|
((
mtime_t
)(
header
[
1
6
]
&
0xfe
)
<<
14
)
|
(
mtime_t
)(
header
[
1
7
]
<<
7
)
|
(
mtime_t
)(
header
[
1
8
]
>>
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