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

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:28:29 2009 +0300| [1188e4a5d039711c0afa64b532578e4c65c34ab4] | committer: Rémi Denis-Courmont 

dc1394: path coming from MRL, need utf8_open()

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

 modules/access/dc1394.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/dc1394.c b/modules/access/dc1394.c
index 5d2607a..0c174c6 100644
--- a/modules/access/dc1394.c
+++ b/modules/access/dc1394.c
@@ -34,7 +34,7 @@
 #include <vlc_plugin.h>
 #include <vlc_input.h>
 #include <vlc_demux.h>
-
+#include <vlc_charset.h>
 
 #ifdef HAVE_FCNTL_H
 #   include <fcntl.h>
@@ -545,7 +545,7 @@ static void OpenAudioDev( demux_t *p_demux )
     int i_format = AFMT_S16_LE;
     int result;
 
-    p_sys->fd_audio = open( psz_device, O_RDONLY | O_NONBLOCK );
+    p_sys->fd_audio = utf8_open( psz_device, O_RDONLY | O_NONBLOCK );
     if( p_sys->fd_audio  < 0 )
     {
         msg_Err( p_demux, "cannot open audio device (%s)", psz_device );




More information about the vlc-devel mailing list