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
25e2a7e8
Commit
25e2a7e8
authored
Oct 17, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSS: use utf8_open() for O_CLOEXEC
parent
912977b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/audio_output/oss.c
modules/audio_output/oss.c
+1
-1
No files found.
modules/audio_output/oss.c
View file @
25e2a7e8
...
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
* wait forever until the device is available. Since this breaks the
* wait forever until the device is available. Since this breaks the
* OSS spec, we immediately put it back to blocking mode if the
* OSS spec, we immediately put it back to blocking mode if the
* operation was successful. */
* operation was successful. */
p_sys
->
i_fd
=
open
(
psz_device
,
O_WRONLY
|
O_NDELAY
);
p_sys
->
i_fd
=
utf8_
open
(
psz_device
,
O_WRONLY
|
O_NDELAY
);
if
(
p_sys
->
i_fd
<
0
)
if
(
p_sys
->
i_fd
<
0
)
{
{
msg_Err
(
p_aout
,
"cannot open audio device (%s)"
,
psz_device
);
msg_Err
(
p_aout
,
"cannot open audio device (%s)"
,
psz_device
);
...
...
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