]> git.sesse.net Git - vlc/commitdiff
dynamic_media_list.c: Fix a warning.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 20 Aug 2007 01:28:12 +0000 (01:28 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 20 Aug 2007 01:28:12 +0000 (01:28 +0000)
src/control/dynamic_media_list.c

index 7ba933969d6be24358ef6479d895e86b6f0a36c2..081e48830142a166656a95e0c0a773ebfdaaa4b9 100644 (file)
@@ -217,7 +217,7 @@ libvlc_dynamic_media_list_new(
         libvlc_media_descriptor_t * p_md;
         p_md = libvlc_media_list_item_at_index( p_mlist, i, p_e );
         if( libvlc_tag_query_match( p_query, p_md, NULL ) )
-            libvlc_media_list_add_media_descriptor( p_dmlist, p_md, p_e );
+            libvlc_media_list_add_media_descriptor( p_dmlist->p_mlist, p_md, p_e );
     }
 
     /* And we will listen to its event, so we can update p_dmlist->p_mlist