Commit 10225af5 authored by Filippo Carone's avatar Filippo Carone

libvlc compile warnings resolved

parent 4799808c
...@@ -44,7 +44,7 @@ input_thread_t *libvlc_get_input_thread( libvlc_input_t *p_input, ...@@ -44,7 +44,7 @@ input_thread_t *libvlc_get_input_thread( libvlc_input_t *p_input,
if( !p_input ) if( !p_input )
{ {
libvlc_exception_raise( p_e, "Input is NULL" ); libvlc_exception_raise( p_e, "Input is NULL" );
return -1; return NULL;
} }
p_input_thread = (input_thread_t*)vlc_object_get( p_input_thread = (input_thread_t*)vlc_object_get(
......
...@@ -154,7 +154,7 @@ libvlc_video_take_snapshot( libvlc_input_t *p_input, char *psz_filepath, ...@@ -154,7 +154,7 @@ libvlc_video_take_snapshot( libvlc_input_t *p_input, char *psz_filepath,
if( !p_input_thread ) if( !p_input_thread )
{ {
libvlc_exception_raise( p_e, "Input does not exist" ); libvlc_exception_raise( p_e, "Input does not exist" );
return NULL; return;
} }
snprintf( path, 255, "%s", psz_filepath ); snprintf( path, 255, "%s", 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