]> git.sesse.net Git - vlc/blobdiff - test/libvlc/media_list.c
LibVLC core: remove exceptions
[vlc] / test / libvlc / media_list.c
index 42156baf3fe810d73bcf73aef6f01ddef21ee437..a41e839d8528bb30467ec2d19315a77711bf16fd 100644 (file)
@@ -32,8 +32,8 @@ static void test_media_list (const char ** argv, int argc)
     log ("Testing media_list\n");
 
     libvlc_exception_init (&ex);
-    vlc = libvlc_new (argc, argv, &ex);
-    catch ();
+    vlc = libvlc_new (argc, argv);
+    assert (vlc != NULL);
 
     ml = libvlc_media_list_new (vlc);
     assert (ml != NULL);