Commit 7efc2e4c authored by Philippe Coent's avatar Philippe Coent Committed by Felix Paul Kühne

MobileVLCKit: updated libvlc initialization to current API

Signed-off-by: Felix Paul Kühne's avatarFelix Paul Kühne <fkuehne@videolan.org>
parent ad82dd58
......@@ -81,11 +81,7 @@ static VLCLibrary * sharedLibrary = nil;
paramNum++;
}
unsigned argc = sizeof(lib_vlc_params)/sizeof(lib_vlc_params[0]);
#if TARGET_OS_IPHONE
instance = libvlc_new_with_builtins(argc, lib_vlc_params, vlc_builtins_modules);
#else
instance = libvlc_new(argc, lib_vlc_params);
#endif
NSAssert(instance, @"libvlc failed to initialize");
}
return 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