Commit 3e3a32b3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

OSS: path from VLC core (or ASCII), need utf8_open()

parent 195cf643
......@@ -36,7 +36,7 @@
#include <vlc_plugin.h>
#include <vlc_access.h>
#include <vlc_demux.h>
#include <vlc_input.h>
#include <vlc_charset.h>
#include <ctype.h>
#include <fcntl.h>
......@@ -341,7 +341,7 @@ static int OpenAudioDevOss( demux_t *p_demux )
int i_fd;
int i_format;
i_fd = open( p_demux->p_sys->psz_device, O_RDONLY | O_NONBLOCK );
i_fd = utf8_open( p_demux->p_sys->psz_device, O_RDONLY | O_NONBLOCK );
if( i_fd < 0 )
{
......@@ -417,7 +417,7 @@ static int OpenAudioDev( demux_t *p_demux )
static bool ProbeAudioDevOss( demux_t *p_demux, const char *psz_device )
{
int i_caps;
int i_fd = open( psz_device, O_RDONLY | O_NONBLOCK );
int i_fd = utf8_open( psz_device, O_RDONLY | O_NONBLOCK );
if( i_fd < 0 )
{
......
......@@ -38,6 +38,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_charset.h>
#include <vlc_aout.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment