macosx: fix crash in outline view data source
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Fri, 2 Jan 2015 12:47:27 +0000 (13:47 +0100)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Fri, 2 Jan 2015 18:36:35 +0000 (19:36 +0100)
modules/gui/macosx/PLModel.m

index 41055ee..5c25815 100644 (file)
 {
     id o_value = nil;
     char * psz_value;
-    playlist_item_t *p_item;
 
     input_item_t *p_input = [item input];
 
         }
     }
     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]];