Commit 7962ffa3 authored by Rémi Duraffort's avatar Rémi Duraffort

cosmetics.

parent 66e451b5
...@@ -352,11 +352,11 @@ libvlc_media_t * libvlc_media_new_as_node( ...@@ -352,11 +352,11 @@ libvlc_media_t * libvlc_media_new_as_node(
**************************************************************************/ **************************************************************************/
void libvlc_media_add_option( void libvlc_media_add_option(
libvlc_media_t * p_md, libvlc_media_t * p_md,
const char * ppsz_option, const char * psz_option,
libvlc_exception_t *p_e ) libvlc_exception_t *p_e )
{ {
VLC_UNUSED(p_e); VLC_UNUSED(p_e);
input_item_AddOption( p_md->p_input_item, ppsz_option, input_item_AddOption( p_md->p_input_item, psz_option,
VLC_INPUT_OPTION_UNIQUE|VLC_INPUT_OPTION_TRUSTED ); VLC_INPUT_OPTION_UNIQUE|VLC_INPUT_OPTION_TRUSTED );
} }
...@@ -598,13 +598,5 @@ libvlc_media_get_user_data( libvlc_media_t * p_md, ...@@ -598,13 +598,5 @@ libvlc_media_get_user_data( libvlc_media_t * p_md,
libvlc_exception_t * p_e ) libvlc_exception_t * p_e )
{ {
VLC_UNUSED(p_e); VLC_UNUSED(p_e);
return p_md ? p_md->p_user_data : NULL;
if( p_md )
{
return p_md->p_user_data;
}
else
{
return NULL;
}
} }
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