control/flat_media_list.c: Remove an other typo that could cause a crash.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 25 Aug 2007 17:06:41 +0000 (17:06 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 25 Aug 2007 17:06:41 +0000 (17:06 +0000)
src/control/flat_media_list.c

index bf4e5d5..372f5fd 100644 (file)
@@ -307,10 +307,9 @@ libvlc_media_list_flat_media_list( libvlc_media_list_t * p_mlist,
         p_mlist->p_flat_mlist = libvlc_media_list_new(
                                             p_mlist->p_libvlc_instance,
                                             p_e );
-        add_media_list( p_mlist->p_flat_mlist, p_mlist );
+        add_media_list( p_mlist, p_mlist );
         install_flat_mlist_observer( p_mlist );
     }
     libvlc_media_list_retain( p_mlist->p_flat_mlist );
     return p_mlist->p_flat_mlist;
 }
-