From: David Fuhrmann Date: Fri, 2 Jan 2015 12:47:27 +0000 (+0100) Subject: macosx: fix crash in outline view data source X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=813cc63a2e269897fabbfc06c35f1e6afa5c43d6 macosx: fix crash in outline view data source --- diff --git a/modules/gui/macosx/PLModel.m b/modules/gui/macosx/PLModel.m index 41055eebba..5c258156b9 100644 --- a/modules/gui/macosx/PLModel.m +++ b/modules/gui/macosx/PLModel.m @@ -289,7 +289,6 @@ { id o_value = nil; char * psz_value; - playlist_item_t *p_item; input_item_t *p_input = [item input]; @@ -362,7 +361,7 @@ } } else if ([o_identifier isEqualToString:FILESIZE_COLUMN]) { - psz_value = input_item_GetURI(p_item->p_input); + psz_value = input_item_GetURI(p_input); o_value = @""; if (psz_value) { NSURL *url = [NSURL URLWithString:[NSString stringWithUTF8String:psz_value]];