[vlc-commits] commit: MacOS: more compile fixes (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Jul 18 19:01:48 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 18 19:02:03 2010 +0200| [9f26c14b7c1b9665bee20704d4fa3017973ef43f] | committer: Jean-Baptiste Kempf 

MacOS: more compile fixes

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

 modules/gui/macosx/open.m |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/open.m b/modules/gui/macosx/open.m
index 025c94f..0307426 100644
--- a/modules/gui/macosx/open.m
+++ b/modules/gui/macosx/open.m
@@ -560,7 +560,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
 
     [[NSFileManager defaultManager] fileExistsAtPath:o_filename isDirectory:&b_dir];
 
-    char *psz_uri = make_URI([o_filename UTF8String]);
+    char *psz_uri = make_URI([o_filename UTF8String], "file");
     if( !psz_uri ) return;
 
     NSMutableString *o_mrl_string = [NSMutableString stringWithUTF8String: psz_uri ];
@@ -963,7 +963,7 @@ static VLCOpen *_o_sharedMainInstance = nil;
         for( i = 0; i < (int)[o_values count]; i++)
         {
             NSDictionary *o_dic;
-            char *psz_uri = make_URI([[o_values objectAtIndex:i] UTF8String]);
+            char *psz_uri = make_URI([[o_values objectAtIndex:i] UTF8String], "file");
             if( !psz_uri )
                 continue;
 



More information about the vlc-commits mailing list