]> git.sesse.net Git - vlc/commitdiff
control/event.c: Make sure the callback list is initially set to NULL. (Likely fix...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 9 Jul 2007 17:23:19 +0000 (17:23 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 9 Jul 2007 17:23:19 +0000 (17:23 +0000)
src/control/event.c

index a44b247383b67fb65414a8f3377cc2f35d2bddaa..2d5587d9fc6329f844935c53bef1e8b1723213eb 100644 (file)
@@ -214,6 +214,8 @@ void libvlc_event_init( libvlc_instance_t *p_instance, libvlc_exception_t *p_e )
 {
     playlist_t *p_playlist = p_instance->p_libvlc_int->p_playlist;
 
+    p_instance->p_callback_list = NULL;
+
     if( !p_playlist )
         RAISEVOID ("Can't listen to input event");