Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
62f23806
Commit
62f23806
authored
Jun 24, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Missing const
parent
b83f3304
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/control/video.c
src/control/video.c
+5
-5
No files found.
src/control/video.c
View file @
62f23806
...
@@ -768,7 +768,7 @@ marq_option_bynumber(unsigned option)
...
@@ -768,7 +768,7 @@ marq_option_bynumber(unsigned option)
};
};
enum
{
num_opts
=
sizeof
(
optlist
)
/
sizeof
(
*
optlist
)
};
enum
{
num_opts
=
sizeof
(
optlist
)
/
sizeof
(
*
optlist
)
};
opt_t
*
r
=
option
<
num_opts
?
optlist
+
option
:
NULL
;
const
opt_t
*
r
=
option
<
num_opts
?
optlist
+
option
:
NULL
;
if
(
!
r
)
if
(
!
r
)
libvlc_printerr
(
"Unknown marquee option"
);
libvlc_printerr
(
"Unknown marquee option"
);
return
r
;
return
r
;
...
@@ -816,7 +816,7 @@ void libvlc_video_set_marquee_string( libvlc_media_player_t *p_mi,
...
@@ -816,7 +816,7 @@ void libvlc_video_set_marquee_string( libvlc_media_player_t *p_mi,
/* logo module support */
/* logo module support */
static
opt_t
*
static
const
opt_t
*
logo_option_bynumber
(
unsigned
option
)
logo_option_bynumber
(
unsigned
option
)
{
{
static
const
opt_t
vlogo_optlist
[]
=
static
const
opt_t
vlogo_optlist
[]
=
...
@@ -833,7 +833,7 @@ logo_option_bynumber( unsigned option )
...
@@ -833,7 +833,7 @@ logo_option_bynumber( unsigned option )
};
};
enum
{
num_vlogo_opts
=
sizeof
(
vlogo_optlist
)
/
sizeof
(
*
vlogo_optlist
)
};
enum
{
num_vlogo_opts
=
sizeof
(
vlogo_optlist
)
/
sizeof
(
*
vlogo_optlist
)
};
opt_t
*
r
=
option
<
num_vlogo_opts
?
vlogo_optlist
+
option
:
NULL
;
const
opt_t
*
r
=
option
<
num_vlogo_opts
?
vlogo_optlist
+
option
:
NULL
;
if
(
!
r
)
if
(
!
r
)
libvlc_printerr
(
"Unknown logo option"
);
libvlc_printerr
(
"Unknown logo option"
);
return
r
;
return
r
;
...
@@ -864,7 +864,7 @@ int libvlc_video_get_logo_int( libvlc_media_player_t *p_mi,
...
@@ -864,7 +864,7 @@ int libvlc_video_get_logo_int( libvlc_media_player_t *p_mi,
/* adjust module support */
/* adjust module support */
static
opt_t
*
static
const
opt_t
*
adjust_option_bynumber
(
unsigned
option
)
adjust_option_bynumber
(
unsigned
option
)
{
{
static
const
opt_t
optlist
[]
=
static
const
opt_t
optlist
[]
=
...
@@ -878,7 +878,7 @@ adjust_option_bynumber( unsigned option )
...
@@ -878,7 +878,7 @@ adjust_option_bynumber( unsigned option )
};
};
enum
{
num_opts
=
sizeof
(
optlist
)
/
sizeof
(
*
optlist
)
};
enum
{
num_opts
=
sizeof
(
optlist
)
/
sizeof
(
*
optlist
)
};
opt_t
*
r
=
option
<
num_opts
?
optlist
+
option
:
NULL
;
const
opt_t
*
r
=
option
<
num_opts
?
optlist
+
option
:
NULL
;
if
(
!
r
)
if
(
!
r
)
libvlc_printerr
(
"Unknown adjust option"
);
libvlc_printerr
(
"Unknown adjust option"
);
return
r
;
return
r
;
...
...
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