]> git.sesse.net Git - vlc/blobdiff - modules/video_output/mga.c
vout_fb: cosmetics, stick to orig coding style
[vlc] / modules / video_output / mga.c
index 65ed9eee092041dd3c0d46c0661666cbb22d9e96..0a1a2fc5d05f96bc1c2e092b6936201badd039b1 100644 (file)
@@ -38,6 +38,7 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
+#include <vlc_charset.h>
 
 #ifdef SYS_BSD
 #include <sys/types.h>                                     /* typedef ushort */
@@ -139,7 +140,7 @@ static int Create( vlc_object_t *p_this )
     if( p_vout->p_sys == NULL )
         return( 1 );
 
-    p_vout->p_sys->i_fd = open( "/dev/mga_vid", O_RDWR );
+    p_vout->p_sys->i_fd = utf8_open( "/dev/mga_vid", O_RDWR );
     if( p_vout->p_sys->i_fd == -1 )
     {
         msg_Err( p_vout, "cannot open MGA driver /dev/mga_vid" );