From ccf834a51a5ba339dff515333118635aaa3b9047 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Sun, 14 May 2006 21:57:37 +0000
Subject: [PATCH] * more compilation fixes

---
 modules/gui/macosx/intf.m     | 4 ++--
 modules/gui/macosx/playlist.m | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 9f539997e1f9..d84543b0c35d 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -975,7 +975,7 @@ static VLCMain *_o_sharedMainInstance = nil;
 
             /* chapters & titles */
             //b_chapters = p_intf->p_sys->p_input->stream.i_area_nb > 1;
-            vlc_object_release( p_input );
+            vlc_object_release( p_intf->p_sys->p_input );
         }
 
         [o_btn_stop setEnabled: b_input];
@@ -1022,7 +1022,7 @@ static VLCMain *_o_sharedMainInstance = nil;
         p_intf->p_sys->b_intf_show = VLC_FALSE;
     }
 
-    if( p_input && !p_input->b_die )
+    if( p_intf->p_sys->p_input && !p_intf->p_sys->p_input->b_die )
     {
         vlc_value_t val;
 
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 07d8edc31978..ed84eb5efb56 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -741,7 +741,9 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
             {
                 o_real_filename = o_filename;
             }
-            playlist_Export( p_playlist, [o_real_filename fileSystemRepresentation], "export-xspf" );
+            playlist_Export( p_playlist, 
+                [o_real_filename fileSystemRepresentation], 
+                p_playlist->p_local_category, "export-xspf" );
         }
         else
         {
@@ -759,7 +761,9 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
             {
                 o_real_filename = o_filename;
             }
-            playlist_Export( p_playlist, [o_real_filename fileSystemRepresentation], p_playlist->p_local_category, "export-m3u" );
+            playlist_Export( p_playlist, 
+                [o_real_filename fileSystemRepresentation],
+                p_playlist->p_local_category, "export-m3u" );
         }
     }
     vlc_object_release( p_playlist );
-- 
GitLab