]> git.sesse.net Git - vlc/commitdiff
Should fix prolems during launch of VLC on xserve...
authorJérome Decoodt <djc@videolan.org>
Tue, 10 May 2005 16:18:43 +0000 (16:18 +0000)
committerJérome Decoodt <djc@videolan.org>
Tue, 10 May 2005 16:18:43 +0000 (16:18 +0000)
modules/gui/macosx/playlistinfo.m

index 4bb7f7197b544a37e295007e3e1d6c5e0da6ece3..1bc011f2e32a81c622358693bc28853e4d774e68 100644 (file)
@@ -260,7 +260,10 @@ static VLCInfoTreeItem *o_root_item = nil;
         o_value = [o_item_value copy];
         i_object_id = i_id;
         o_parent = o_parent_item;
-        p_item = [[[VLCMain sharedInstance] getInfo] getItem];
+        if( [[VLCMain sharedInstance] getInfo] != nil )
+            p_item = [[[VLCMain sharedInstance] getInfo] getItem];
+        else
+            p_item = NULL;
     }
     return( self );
 }