return 1; // BOOM!
argv[argc] = NULL;
- libvlc_exception_t ex;
- libvlc_exception_init (&ex);
-
/* Initialize libvlc */
- libvlc_instance_t *vlc = libvlc_new (argc, argv, &ex);
+ libvlc_instance_t *vlc = libvlc_new (argc, argv);
if (vlc != NULL)
{
for (int i = 1; i < argc; i++)
LocaleFree (argv[i]);
- return vlc == NULL || libvlc_exception_raised (&ex);
+ return 0;
}