]> git.sesse.net Git - vlc/blobdiff - test/libvlc/events.c
LibVLC core: remove exceptions
[vlc] / test / libvlc / events.c
index bbe18b81ce855a5d6f933ea71c0470e17320a8e8..17d5a8aedd23091720b539c696d4a9fedd1d4d80 100644 (file)
@@ -75,8 +75,8 @@ static void test_events (const char ** argv, int argc)
     log ("Testing events\n");
 
     libvlc_exception_init (&ex);
-    vlc = libvlc_new (argc, argv, &ex);
-    catch ();
+    vlc = libvlc_new (argc, argv);
+    assert (vlc != NULL);
 
     mi = libvlc_media_player_new (vlc);
     assert (mi != NULL);