]> git.sesse.net Git - vlc/blobdiff - test/libvlc/meta.c
LibVLC core: remove exceptions
[vlc] / test / libvlc / meta.c
index c969a01b9726b0099947b19a7918dc413265eb57..c4131ebbb9ebbf323b9e40b3882ecf2798d39f64 100644 (file)
@@ -35,8 +35,8 @@ static void test_meta (const char ** argv, int argc)
     log ("Testing meta\n");
 
     libvlc_exception_init (&ex);
-    vlc = libvlc_new (argc, argv, &ex);
-    catch ();
+    vlc = libvlc_new (argc, argv);
+    assert (vlc != NULL);
 
     media = libvlc_media_new (vlc, "samples/meta.sample", &ex);
     catch ();