vlc = libvlc_new (argc, argv);
assert (vlc != NULL);
- md = libvlc_media_new (vlc, file, &ex);
- catch ();
+ md = libvlc_media_new (vlc, file);
+ assert (md != NULL);
mi = libvlc_media_player_new_from_media (md);
assert (mi != NULL);
vlc = libvlc_new (argc, argv);
assert (vlc != NULL);
- md = libvlc_media_new (vlc, file, &ex);
- catch ();
+ md = libvlc_media_new (vlc, file);
+ assert (md != NULL);
mi = libvlc_media_player_new_from_media (md);
assert (mi != NULL);