Commit 86594f0a authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCMediaList: fix allocation error

parent 075f3fd2
......@@ -76,7 +76,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
{
if (self = [super init]) {
// Create a new libvlc media list instance
p_mlist = libvlc_media_list_new([VLCLibrary sharedInstance]);
p_mlist = libvlc_media_list_new([VLCLibrary sharedLibrary].instance);
// Initialize internals to defaults
cachedMedia = [[NSMutableArray alloc] init];
......
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