Commit 7e042a1c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_discoverer.c: Fix a warning+bug.

parent 6f793516
...@@ -135,7 +135,7 @@ libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis ) ...@@ -135,7 +135,7 @@ libvlc_media_discoverer_localized_name( libvlc_media_discoverer_t * p_mdis )
libvlc_media_list_t * libvlc_media_list_t *
libvlc_media_discoverer_media_list( libvlc_media_discoverer_t * p_mdis ) libvlc_media_discoverer_media_list( libvlc_media_discoverer_t * p_mdis )
{ {
libvlc_media_list_retain( p_mdis->p_sd ); libvlc_media_list_retain( p_mdis->p_mlist );
return p_mdis->p_sd; return p_mdis->p_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