V4L: path from VLC, need utf8_open()
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Oct 2009 20:31:34 +0000 (23:31 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 17 Oct 2009 20:50:57 +0000 (23:50 +0300)
modules/access/v4l.c

index 1a73ef5..e72feb7 100644 (file)
@@ -682,7 +682,7 @@ static int OpenVideoDev( demux_t *p_demux, char *psz_device )
     struct mjpeg_params mjpeg;
     int i;
 
-    if( ( i_fd = open( psz_device, O_RDWR ) ) < 0 )
+    if( ( i_fd = utf8_open( psz_device, O_RDWR ) ) < 0 )
     {
         msg_Err( p_demux, "cannot open device (%m)" );
         goto vdev_failed;