]> git.sesse.net Git - vlc/commitdiff
control/event.c: Make sure intall_input_event returns a value.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 19 Jul 2007 17:57:42 +0000 (17:57 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 19 Jul 2007 17:57:42 +0000 (17:57 +0000)
src/control/event.c

index 2d5587d9fc6329f844935c53bef1e8b1723213eb..14f4e83772506803148e9c428beab67687f7c4c6 100644 (file)
@@ -119,7 +119,7 @@ static int install_input_event( vlc_object_t *p_this, char const *psz_cmd,
     input_thread_t * p_input = get_input( p_instance );
 
     if( !p_input )
-        return;
+        return VLC_SUCCESS;
 
     vlc_mutex_lock( &p_instance->instance_lock );