Commit f2903b7d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

control/media_list_player.c: Initialize p_mlist, and p_mi.

parent 262b177b
......@@ -165,7 +165,8 @@ libvlc_media_list_player_new( libvlc_instance_t * p_instance,
libvlc_media_list_player_t * p_mlp;
p_mlp = malloc(sizeof(libvlc_media_list_player_t));
p_mlp->i_current_playing_index = -1;
p_mlp->p_mi = NULL;
p_mlp->p_mlist = NULL;
vlc_mutex_init( p_instance->p_libvlc_int, &p_mlp->object_lock );
return p_mlp;
......
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