Commit e241ba92 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/event.c: Make sure the callback list is initially set to NULL. (Likely...

control/event.c: Make sure the callback list is initially set to NULL. (Likely fix the crash reported by Olivier Aubert).
parent 3ed748c9
......@@ -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");
......
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