Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
3e3a32b3
Commit
3e3a32b3
authored
Oct 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSS: path from VLC core (or ASCII), need utf8_open()
parent
195cf643
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
modules/access/oss.c
modules/access/oss.c
+3
-3
modules/audio_output/oss.c
modules/audio_output/oss.c
+1
-0
No files found.
modules/access/oss.c
View file @
3e3a32b3
...
...
@@ -36,7 +36,7 @@
#include <vlc_plugin.h>
#include <vlc_access.h>
#include <vlc_demux.h>
#include <vlc_
inpu
t.h>
#include <vlc_
charse
t.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
)
{
...
...
modules/audio_output/oss.c
View file @
3e3a32b3
...
...
@@ -38,6 +38,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_charset.h>
#include <vlc_aout.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment