Allow mutexes without objects. QueueMsg can handle this internally too.
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 22 Jan 2008 18:47:01 +0000 (18:47 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 22 Jan 2008 18:47:01 +0000 (18:47 +0000)
src/misc/threads.c

index b8be8b6..d10bdf0 100644 (file)
@@ -226,7 +226,6 @@ int __vlc_threads_end( vlc_object_t *p_this )
  *****************************************************************************/
 int __vlc_mutex_init( vlc_object_t *p_this, vlc_mutex_t *p_mutex )
 {
-    assert( p_this );
     p_mutex->p_this = p_this;
 
 #if defined( UNDER_CE )