[vlc-devel] commit: VCD: path from VLC MRL, need utf8_open ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Oct 17 22:51:07 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:32:54 2009 +0300| [52270396707d2da13d82a104931db3f3a85304d7] | committer: Rémi Denis-Courmont 

VCD: path from VLC MRL, need utf8_open

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

 modules/access/vcd/cdrom.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/access/vcd/cdrom.c b/modules/access/vcd/cdrom.c
index 66eec68..2fc73dd 100644
--- a/modules/access/vcd/cdrom.c
+++ b/modules/access/vcd/cdrom.c
@@ -32,6 +32,7 @@
 
 #include <vlc_common.h>
 #include <vlc_access.h>
+#include <vlc_charset.h>
 #include <limits.h>
 
 #ifdef HAVE_UNISTD_H
@@ -141,7 +142,7 @@ vcddev_t *ioctl_Open( vlc_object_t *p_this, const char *psz_dev )
         i_ret = win32_vcd_open( p_this, psz_dev, p_vcddev );
 #else
         p_vcddev->i_device_handle = -1;
-        p_vcddev->i_device_handle = open( psz_dev, O_RDONLY | O_NONBLOCK );
+        p_vcddev->i_device_handle = utf8_open( psz_dev, O_RDONLY | O_NONBLOCK );
         i_ret = (p_vcddev->i_device_handle == -1) ? -1 : 0;
 #endif
     }




More information about the vlc-devel mailing list