Commit 73921f62 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Readability change

parent a16c5cd8
...@@ -129,7 +129,8 @@ void libvlc_vlm_set_output( libvlc_instance_t *p_instance, char *psz_name, ...@@ -129,7 +129,8 @@ void libvlc_vlm_set_output( libvlc_instance_t *p_instance, char *psz_name,
if( i_ret ) if( i_ret )
{ {
libvlc_exception_raise( p_exception, "Unable to set output" ); libvlc_exception_raise( p_exception, "Unable to set output" );
vlc_mutex_unlock( &p_instance->p_vlm->lock );return; vlc_mutex_unlock( &p_instance->p_vlm->lock );
return;
} }
vlc_mutex_unlock( &p_instance->p_vlm->lock ); vlc_mutex_unlock( &p_instance->p_vlm->lock );
#endif #endif
...@@ -149,13 +150,15 @@ void libvlc_vlm_set_input( libvlc_instance_t *p_instance, char *psz_name, ...@@ -149,13 +150,15 @@ void libvlc_vlm_set_input( libvlc_instance_t *p_instance, char *psz_name,
if( i_ret ) if( i_ret )
{ {
libvlc_exception_raise( p_exception, "Unable to change input" ); libvlc_exception_raise( p_exception, "Unable to change input" );
vlc_mutex_unlock( &p_instance->p_vlm->lock );return; vlc_mutex_unlock( &p_instance->p_vlm->lock );
return;
} }
i_ret = vlm_MediaSetup( p_instance->p_vlm, p_media, "input", psz_input ); i_ret = vlm_MediaSetup( p_instance->p_vlm, p_media, "input", psz_input );
if( i_ret ) if( i_ret )
{ {
libvlc_exception_raise( p_exception, "Unable to change input" ); libvlc_exception_raise( p_exception, "Unable to change input" );
vlc_mutex_unlock( &p_instance->p_vlm->lock );return; vlc_mutex_unlock( &p_instance->p_vlm->lock );
return;
} }
vlc_mutex_unlock( &p_instance->p_vlm->lock ); vlc_mutex_unlock( &p_instance->p_vlm->lock );
#endif #endif
...@@ -175,7 +178,8 @@ void libvlc_vlm_add_input( libvlc_instance_t *p_instance, char *psz_name, ...@@ -175,7 +178,8 @@ void libvlc_vlm_add_input( libvlc_instance_t *p_instance, char *psz_name,
if( i_ret ) if( i_ret )
{ {
libvlc_exception_raise( p_exception, "Unable to change input" ); libvlc_exception_raise( p_exception, "Unable to change input" );
vlc_mutex_unlock( &p_instance->p_vlm->lock ); return; vlc_mutex_unlock( &p_instance->p_vlm->lock );
return;
} }
vlc_mutex_unlock( &p_instance->p_vlm->lock ); vlc_mutex_unlock( &p_instance->p_vlm->lock );
...@@ -211,19 +215,22 @@ void libvlc_vlm_change_media( libvlc_instance_t *p_instance, char *psz_name, ...@@ -211,19 +215,22 @@ void libvlc_vlm_change_media( libvlc_instance_t *p_instance, char *psz_name,
if( i_ret ) if( i_ret )
{ {
libvlc_exception_raise( p_exception, "Unable to set output" ); libvlc_exception_raise( p_exception, "Unable to set output" );
vlc_mutex_unlock( &p_instance->p_vlm->lock ); return; vlc_mutex_unlock( &p_instance->p_vlm->lock );
return;
} }
i_ret = vlm_MediaSetup( p_instance->p_vlm, p_media, "inputdel", "all" ); i_ret = vlm_MediaSetup( p_instance->p_vlm, p_media, "inputdel", "all" );
if( i_ret ) if( i_ret )
{ {
libvlc_exception_raise( p_exception, "Unable to change input" ); libvlc_exception_raise( p_exception, "Unable to change input" );
vlc_mutex_unlock( &p_instance->p_vlm->lock ); return; vlc_mutex_unlock( &p_instance->p_vlm->lock );
return;
} }
i_ret = vlm_MediaSetup( p_instance->p_vlm, p_media, "input", psz_input ); i_ret = vlm_MediaSetup( p_instance->p_vlm, p_media, "input", psz_input );
if( i_ret ) if( i_ret )
{ {
libvlc_exception_raise( p_exception, "Unable to change input" ); libvlc_exception_raise( p_exception, "Unable to change input" );
vlc_mutex_unlock( &p_instance->p_vlm->lock );return; vlc_mutex_unlock( &p_instance->p_vlm->lock );
return;
} }
vlc_mutex_unlock( &p_instance->p_vlm->lock ); vlc_mutex_unlock( &p_instance->p_vlm->lock );
......
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