[vlc-devel] commit: libvlc: Remove unused mutex. (Pierre d'Herbemont )
git version control
git at videolan.org
Mon Aug 31 10:51:39 CEST 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Sun Aug 30 13:23:24 2009 +0200| [5995f330ba3032e8b3fa70dcb8d1a1648b68f3db] | committer: Pierre d'Herbemont
libvlc: Remove unused mutex.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5995f330ba3032e8b3fa70dcb8d1a1648b68f3db
---
src/control/core.c | 2 --
src/control/libvlc_internal.h | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/control/core.c b/src/control/core.c
index 2687d23..2cbfd85 100644
--- a/src/control/core.c
+++ b/src/control/core.c
@@ -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 );
diff --git a/src/control/libvlc_internal.h b/src/control/libvlc_internal.h
index 481657c..ef97eff 100644
--- a/src/control/libvlc_internal.h
+++ b/src/control/libvlc_internal.h
@@ -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;
};
More information about the vlc-devel
mailing list