[vlc-commits] commit: Fix missing lock in 440126cfb7322950d14f7029dd424c4f4bd41ad ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Thu Jun 3 23:10:54 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jun  4 00:10:35 2010 +0300| [57e6c0256e59dc699192e371436ef96bfac28009] | committer: Rémi Denis-Courmont 

Fix missing lock in 440126cfb7322950d14f7029dd424c4f4bd41ad

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=57e6c0256e59dc699192e371436ef96bfac28009
---

 src/interface/interface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/interface/interface.c b/src/interface/interface.c
index 9268391..5c674d2 100644
--- a/src/interface/interface.c
+++ b/src/interface/interface.c
@@ -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) */



More information about the vlc-commits mailing list