Commit 5995f330 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Remove unused mutex.

parent 129fbb17
......@@ -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 );
......
......@@ -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;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment