]> git.sesse.net Git - vlc/commitdiff
Fix compilation warning (a void* function might return something).
authorRémi Duraffort <ivoire@videolan.org>
Wed, 6 Aug 2008 19:50:40 +0000 (21:50 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Wed, 6 Aug 2008 19:50:40 +0000 (21:50 +0200)
src/video_output/video_output.c

index 40ac255e7e51c5bf2d1e1ae94763a93a7a7aa08f..54fd9e85a6e5c01e7b0f87cc355d90b4fccb4afb 100644 (file)
@@ -735,7 +735,7 @@ static void* RunThread( vlc_object_t *p_this )
     {
         EndThread( p_vout );
         vlc_mutex_unlock( &p_vout->change_lock );
-        return;
+        return NULL;
     }
 
     vlc_object_lock( p_vout );
@@ -1121,6 +1121,7 @@ static void* RunThread( vlc_object_t *p_this )
     vlc_mutex_unlock( &p_vout->change_lock );
 
     vlc_object_unlock( p_vout );
+    return NULL;
 }
 
 /*****************************************************************************
@@ -1405,6 +1406,7 @@ static void* SuxorRestartVideoES( vlc_object_t * p_vlc_t )
     vlc_object_release( p_this->p_input );
 
     vlc_object_release( p_this );
+    return NULL;
 }
 
 /*****************************************************************************