]> git.sesse.net Git - vlc/commitdiff
libvlc: Remove unused mutex.
authorPierre d'Herbemont <pdherbemont@free.fr>
Sun, 30 Aug 2009 11:23:24 +0000 (13:23 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 31 Aug 2009 08:50:55 +0000 (10:50 +0200)
src/control/core.c
src/control/libvlc_internal.h

index 2687d23826236c0fff44f12dad503fd3f4ccf9f5..2cbfd85dcdaa634bef4294b1fc622f3c12e42837 100644 (file)
@@ -142,7 +142,6 @@ libvlc_instance_t * libvlc_new( int argc, const char *const *argv,
     p_new->verbosity = 1;
     p_new->p_callback_list = NULL;
     vlc_mutex_init(&p_new->instance_lock);
-    vlc_mutex_init(&p_new->event_callback_lock);
 
     return p_new;
 }
@@ -170,7 +169,6 @@ void libvlc_release( libvlc_instance_t *p_instance )
     if( refs == 0 )
     {
         vlc_mutex_destroy( lock );
-        vlc_mutex_destroy( &p_instance->event_callback_lock );
         if( p_instance->libvlc_vlm.pf_release )
             p_instance->libvlc_vlm.pf_release( p_instance );
         libvlc_InternalCleanup( p_instance->p_libvlc_int );
index 481657c33baad0041ebaf55d97bd06c9993340c0..ef97eff54f8f0a022941ea68f02b2d0a7af39674 100644 (file)
@@ -67,7 +67,6 @@ struct libvlc_instance_t
     unsigned      ref_count;
     int           verbosity;
     vlc_mutex_t   instance_lock;
-    vlc_mutex_t   event_callback_lock;
     struct libvlc_callback_entry_list_t *p_callback_list;
 };