]> git.sesse.net Git - vlc/blobdiff - src/input/input.c
* ./include/vlc_threads.h, ./src/misc/threads.c: improved the cond_wait
[vlc] / src / input / input.c
index a3669f60e8bd5cd4dd660781a4a71ae67970f7ef..bc6a7b3b781edd787e9b48b328a2aa8e6ac17a63 100644 (file)
@@ -4,7 +4,7 @@
  * decoders.
  *****************************************************************************
  * Copyright (C) 1998-2001 VideoLAN
- * $Id: input.c,v 1.203 2002/06/07 23:53:44 sam Exp $
+ * $Id: input.c,v 1.204 2002/06/08 14:08:46 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -112,7 +112,7 @@ input_thread_t *__input_CreateThread( vlc_object_t *p_parent,
 
     /* Set locks. */
     vlc_mutex_init( p_input, &p_input->stream.stream_lock );
-    vlc_cond_init( &p_input->stream.stream_wait );
+    vlc_cond_init( p_input, &p_input->stream.stream_wait );
     vlc_mutex_init( p_input, &p_input->stream.control.control_lock );
 
     /* Initialize stream description */