]> git.sesse.net Git - vlc/blobdiff - test/libvlc/core.c
LibVLC core: remove exceptions
[vlc] / test / libvlc / core.c
index 53cb8c8c511bb4f736d7cd32d4b70f825565aa47..fe274a7cb354b78c13f14bd1b808d76ad76ec9da 100644 (file)
@@ -30,8 +30,8 @@ static void test_core (const char ** argv, int argc)
     log ("Testing core\n");
 
     libvlc_exception_init (&ex);
-    vlc = libvlc_new (argc, argv, &ex);
-    catch ();
+    vlc = libvlc_new (argc, argv);
+    assert (vlc != NULL);
 
     libvlc_retain (vlc);
     libvlc_release (vlc);