Commit 77575de8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx/framework: Assert that we correctly initialized libvlc.

parent f3d741a2
......@@ -81,6 +81,7 @@ void __catch_exception( void * e, const char * function, const char * file, int
instance = (void *)libvlc_new( sizeof(lib_vlc_params)/sizeof(lib_vlc_params[0]), lib_vlc_params, &ex );
catch_exception( &ex );
NSAssert(instance, @"libvlc failed to initialize");
// Assignment unneeded, as the audio unit will do it for us
/*audio = */ [[VLCAudio alloc] initWithLibrary:self];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment