]> git.sesse.net Git - vlc/commitdiff
Fix missing lock in 440126cfb7322950d14f7029dd424c4f4bd41ad
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 3 Jun 2010 21:10:35 +0000 (00:10 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 3 Jun 2010 21:10:35 +0000 (00:10 +0300)
src/interface/interface.c

index 92683915256e0e32a7a679fe72d266f5d9c88687..5c674d28722e4b4202c0fb831136f843e68e6927 100644 (file)
@@ -128,6 +128,7 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module )
         goto error;
     }
 
+    vlc_mutex_lock( &lock );
 #if defined( __APPLE__ ) || defined( WIN32 )
     /* Hack to get Mac OS X Cocoa runtime running
      * (it needs access to the main thread) */