Commit 05db60da authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Compiler knows better when to inline or not

parent f7202383
...@@ -635,7 +635,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable, ...@@ -635,7 +635,7 @@ void libvlc_video_set_deinterlace( libvlc_media_player_t *p_mi, int b_enable,
* a vout * a vout
*****************************************************************************/ *****************************************************************************/
static inline 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 * marquee_table[] =
{ {
...@@ -655,7 +655,7 @@ static inline const char * get_marquee_int_option_identifier(unsigned option) ...@@ -655,7 +655,7 @@ static inline const char * get_marquee_int_option_identifier(unsigned option)
return marquee_table[option]; return marquee_table[option];
} }
static inline 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 * marquee_table[] =
{ {
...@@ -668,7 +668,7 @@ static inline const char * get_marquee_string_option_identifier(unsigned option) ...@@ -668,7 +668,7 @@ static inline const char * get_marquee_string_option_identifier(unsigned option)
} }
static inline vlc_object_t * get_marquee_object( libvlc_media_player_t * p_mi ) static vlc_object_t *get_marquee_object( libvlc_media_player_t * p_mi )
{ {
libvlc_exception_t e; libvlc_exception_t e;
libvlc_exception_init(&e); libvlc_exception_init(&e);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment