[vlc-commits] macosx: fix crash in outline view data source

David Fuhrmann git at videolan.org
Fri Jan 2 21:58:35 CET 2015


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Fri Jan  2 13:47:27 2015 +0100| [813cc63a2e269897fabbfc06c35f1e6afa5c43d6] | committer: David Fuhrmann

macosx: fix crash in outline view data source

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=813cc63a2e269897fabbfc06c35f1e6afa5c43d6
---

 modules/gui/macosx/PLModel.m |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/macosx/PLModel.m b/modules/gui/macosx/PLModel.m
index 41055ee..5c25815 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]];



More information about the vlc-commits mailing list