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
b5c0d68d
Commit
b5c0d68d
authored
Jun 14, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill warnings.
parent
25bf450c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/demux/ps.h
modules/demux/ps.h
+2
-3
No files found.
modules/demux/ps.h
View file @
b5c0d68d
...
@@ -192,8 +192,7 @@ static inline int ps_pkt_id( block_t *p_pkt )
...
@@ -192,8 +192,7 @@ static inline int ps_pkt_id( block_t *p_pkt )
{
{
/* ISO 13818 amendment 2 and SMPTE RP 227 */
/* ISO 13818 amendment 2 and SMPTE RP 227 */
const
uint8_t
i_flags
=
p_pkt
->
p_buffer
[
7
];
const
uint8_t
i_flags
=
p_pkt
->
p_buffer
[
7
];
int
i_skip
=
9
;
unsigned
int
i_skip
=
9
;
/* Find PES extension */
/* Find PES extension */
if
(
(
i_flags
&
0x80
)
)
if
(
(
i_flags
&
0x80
)
)
...
@@ -341,7 +340,7 @@ static inline int ps_pkt_parse_system( block_t *p_pkt, ps_psm_t *p_psm,
...
@@ -341,7 +340,7 @@ static inline int ps_pkt_parse_system( block_t *p_pkt, ps_psm_t *p_psm,
static
inline
int
ps_pkt_parse_pes
(
block_t
*
p_pes
,
int
i_skip_extra
)
static
inline
int
ps_pkt_parse_pes
(
block_t
*
p_pes
,
int
i_skip_extra
)
{
{
uint8_t
header
[
30
];
uint8_t
header
[
30
];
int
i_skip
=
0
;
unsigned
int
i_skip
=
0
;
memcpy
(
header
,
p_pes
->
p_buffer
,
__MIN
(
p_pes
->
i_buffer
,
30
)
);
memcpy
(
header
,
p_pes
->
p_buffer
,
__MIN
(
p_pes
->
i_buffer
,
30
)
);
...
...
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