[vlc-devel] commit: OSS: use utf8_open() for O_CLOEXEC ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Oct 17 22:21:10 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:20:59 2009 +0300| [25e2a7e8619a6ac37ee4510aad831ec4c059f71b] | committer: Rémi Denis-Courmont 

OSS: use utf8_open() for O_CLOEXEC

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

 modules/audio_output/oss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index a5659eb..839715b 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
      * wait forever until the device is available. Since this breaks the
      * OSS spec, we immediately put it back to blocking mode if the
      * operation was successful. */
-    p_sys->i_fd = open( psz_device, O_WRONLY | O_NDELAY );
+    p_sys->i_fd = utf8_open( psz_device, O_WRONLY | O_NDELAY );
     if( p_sys->i_fd < 0 )
     {
         msg_Err( p_aout, "cannot open audio device (%s)", psz_device );




More information about the vlc-devel mailing list