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

control/flat_media_list.c: Remove a typo that causes a crash.

parent 161a2f67
......@@ -85,7 +85,7 @@ add_media_list( libvlc_media_list_t * p_mlist,
{
libvlc_media_descriptor_t * p_md;
p_md = libvlc_media_list_item_at_index( p_submlist, i, NULL );
add_item( p_mlist->p_flat_mlist, p_md );
add_item( p_mlist, p_md );
}
install_media_list_observer( p_mlist, p_submlist );
}
......@@ -313,3 +313,4 @@ libvlc_media_list_flat_media_list( libvlc_media_list_t * p_mlist,
libvlc_media_list_retain( p_mlist->p_flat_mlist );
return p_mlist->p_flat_mlist;
}
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