]> git.sesse.net Git - vlc/blobdiff - test/libvlc/media_list.c
Remove some unused p_e parameters and propagate
[vlc] / test / libvlc / media_list.c
index 3413b219ccccfecccf00cdc4322722d302108867..42156baf3fe810d73bcf73aef6f01ddef21ee437 100644 (file)
@@ -35,8 +35,8 @@ static void test_media_list (const char ** argv, int argc)
     vlc = libvlc_new (argc, argv, &ex);
     catch ();
 
-    ml = libvlc_media_list_new (vlc, &ex);
-    catch ();
+    ml = libvlc_media_list_new (vlc);
+    assert (ml != NULL);
 
     md1 = libvlc_media_new (vlc, "/dev/null", &ex);
     catch ();