Commit bcecd6e0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc_video: More line saving on error cases

parent 9b2aec79
...@@ -78,8 +78,7 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi, ...@@ -78,8 +78,7 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi,
int i_ret; int i_ret;
/* GetVout will raise the exception for us */ /* GetVout will raise the exception for us */
if( !p_vout ) if( !p_vout ) return 0;
return 0;
i_ret = var_GetBool( p_vout, "fullscreen" ); i_ret = var_GetBool( p_vout, "fullscreen" );
...@@ -112,10 +111,7 @@ libvlc_video_take_snapshot( libvlc_media_player_t *p_mi, char *psz_filepath, ...@@ -112,10 +111,7 @@ libvlc_video_take_snapshot( libvlc_media_player_t *p_mi, char *psz_filepath,
input_thread_t *p_input_thread; input_thread_t *p_input_thread;
/* GetVout will raise the exception for us */ /* GetVout will raise the exception for us */
if( !p_vout ) if( !p_vout ) return;
{
return;
}
if( !psz_filepath ) if( !psz_filepath )
{ {
......
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