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
352bf617
Commit
352bf617
authored
Jun 29, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shared object friendliness
parent
05db60da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
src/control/video.c
src/control/video.c
+8
-10
No files found.
src/control/video.c
View file @
352bf617
...
@@ -637,7 +637,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable,
...
@@ -637,7 +637,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable,
static
const
char
*
get_marquee_int_option_identifier
(
unsigned
option
)
static
const
char
*
get_marquee_int_option_identifier
(
unsigned
option
)
{
{
static
const
char
*
marquee_table
[
]
=
static
const
char
tab
[][
16
]
=
{
{
"marq"
,
"marq"
,
"marq-color"
,
"marq-color"
,
...
@@ -647,24 +647,22 @@ static const char *get_marquee_int_option_identifier(unsigned option)
...
@@ -647,24 +647,22 @@ static const char *get_marquee_int_option_identifier(unsigned option)
"marq-size"
,
"marq-size"
,
"marq-timeout"
,
"marq-timeout"
,
"marq-x"
,
"marq-x"
,
"marq-y"
"marq-y"
,
};
};
static
const
unsigned
marquee_table_size
=
sizeof
(
marquee_table
)
/
sizeof
(
*
marquee_table
);
if
(
option
>=
sizeof
(
tab
)
/
sizeof
(
tab
[
0
]
)
)
if
(
option
>=
marquee_table_size
)
return
NULL
;
return
NULL
;
return
marquee_table
[
option
];
return
tab
[
option
];
}
}
static
const
char
*
get_marquee_string_option_identifier
(
unsigned
option
)
static
const
char
*
get_marquee_string_option_identifier
(
unsigned
option
)
{
{
static
const
char
*
marquee_table
[
]
=
static
const
char
tab
[][
16
]
=
{
{
"marq-marquee"
"marq-marquee"
,
};
};
static
const
unsigned
marquee_table_size
=
sizeof
(
marquee_table
)
/
sizeof
(
*
marquee_table
);
if
(
option
>=
sizeof
(
tab
)
/
sizeof
(
tab
[
0
]
)
)
if
(
option
>=
marquee_table_size
)
return
NULL
;
return
NULL
;
return
marquee_table
[
option
];
return
tab
[
option
];
}
}
...
...
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