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
0795f13e
Commit
0795f13e
authored
Jan 27, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some missing consts
parent
40e3fb15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/demux/ps.h
modules/demux/ps.h
+4
-4
No files found.
modules/demux/ps.h
View file @
0795f13e
...
...
@@ -28,8 +28,8 @@
((id)&0xff) + (256 - 0xc0))
typedef
struct
ps_psm_t
ps_psm_t
;
static
inline
int
ps_id_to_type
(
ps_psm_t
*
,
int
);
static
inline
uint8_t
*
ps_id_to_lang
(
ps_psm_t
*
,
int
);
static
inline
int
ps_id_to_type
(
const
ps_psm_t
*
,
int
);
static
inline
const
uint8_t
*
ps_id_to_lang
(
const
ps_psm_t
*
,
int
);
typedef
struct
{
...
...
@@ -404,7 +404,7 @@ struct ps_psm_t
ps_es_t
**
es
;
};
static
inline
int
ps_id_to_type
(
ps_psm_t
*
p_psm
,
int
i_id
)
static
inline
int
ps_id_to_type
(
const
ps_psm_t
*
p_psm
,
int
i_id
)
{
int
i
;
for
(
i
=
0
;
p_psm
&&
i
<
p_psm
->
i_es
;
i
++
)
...
...
@@ -414,7 +414,7 @@ static inline int ps_id_to_type( ps_psm_t *p_psm, int i_id )
return
0
;
}
static
inline
uint8_t
*
ps_id_to_lang
(
ps_psm_t
*
p_psm
,
int
i_id
)
static
inline
const
uint8_t
*
ps_id_to_lang
(
const
ps_psm_t
*
p_psm
,
int
i_id
)
{
int
i
;
for
(
i
=
0
;
p_psm
&&
i
<
p_psm
->
i_es
;
i
++
)
...
...
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