Commit 7741bf6d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lib: vlm: pass a non-NULL pointer as event object

(It is a useless value though.)
parent a7de129d
...@@ -134,7 +134,7 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance ) ...@@ -134,7 +134,7 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance )
return VLC_ENOMEM; return VLC_ENOMEM;
p_instance->vlm->p_vlm = NULL; p_instance->vlm->p_vlm = NULL;
libvlc_event_manager_init( &p_instance->vlm->event_manager, libvlc_event_manager_init( &p_instance->vlm->event_manager,
&p_instance->vlm->p_vlm ); p_instance->vlm );
} }
if( !p_instance->vlm->p_vlm ) if( !p_instance->vlm->p_vlm )
......
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