[vlc-devel] commit: Fix compilation warning (a void* function might return something). ( Rémi Duraffort )
git version control
git at videolan.org
Wed Aug 6 21:48:50 CEST 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Aug 6 21:50:40 2008 +0200| [8cbcb570610a696b1ce132f22b814419ec578906] | committer: Rémi Duraffort
Fix compilation warning (a void* function might return something).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cbcb570610a696b1ce132f22b814419ec578906
---
src/video_output/video_output.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 40ac255..54fd9e8 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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;
}
/*****************************************************************************
More information about the vlc-devel
mailing list