[vlc-devel] commit: OMAP framebuffer: path from config, ASCII path, use utf8_open ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Oct 17 22:51:08 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 17 23:36:10 2009 +0300| [f26426041e96d9110e54489aa4236fdb91627f18] | committer: Rémi Denis-Courmont
OMAP framebuffer: path from config, ASCII path, use utf8_open
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f26426041e96d9110e54489aa4236fdb91627f18
---
modules/video_output/omapfb.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/omapfb.c b/modules/video_output/omapfb.c
index f4b21d0..29dd1d0 100644
--- a/modules/video_output/omapfb.c
+++ b/modules/video_output/omapfb.c
@@ -46,6 +46,7 @@
#include <vlc_vout.h>
#include <vlc_vout_window.h>
#include <vlc_playlist.h>
+#include <vlc_charset.h>
/*****************************************************************************
* Local prototypes
@@ -453,7 +454,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
return VLC_EGENERIC;
}
- p_sys->i_fd = open( psz_device, O_RDWR );
+ p_sys->i_fd = utf8_open( psz_device, O_RDWR );
if( p_sys->i_fd == -1 )
{
msg_Err( p_vout, "cannot open %s (%m)", psz_device );
@@ -504,7 +505,7 @@ static int OpenDisplay( vout_thread_t *p_vout )
p_sys->p_display = XOpenDisplay( NULL );
/* Open /dev/null and map it */
- p_sys->i_null_fd = open( "/dev/zero", O_RDWR );
+ p_sys->i_null_fd = utf8_open( "/dev/zero", O_RDWR );
if( p_sys->i_null_fd == -1 )
{
msg_Err( p_vout, "cannot open /dev/zero (%m)" );
More information about the vlc-devel
mailing list