Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
35180156
Commit
35180156
authored
Sep 14, 2002
by
Stéphane Borel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*Fixed a bug that prevented OSS from closing cleanly in spdif.
parent
bdbe0e0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/audio_output/oss.c
modules/audio_output/oss.c
+4
-5
No files found.
modules/audio_output/oss.c
View file @
35180156
...
...
@@ -2,7 +2,7 @@
* oss.c : OSS /dev/dsp module for vlc
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
* $Id: oss.c,v 1.2
4 2002/09/11 23:10:30
stef Exp $
* $Id: oss.c,v 1.2
5 2002/09/14 20:51:11
stef Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -318,7 +318,7 @@ static int OSSThread( aout_instance_t * p_aout )
while
(
!
p_aout
->
b_die
)
{
aout_buffer_t
*
p_buffer
;
aout_buffer_t
*
p_buffer
=
NULL
;
int
i_tmp
,
i_size
;
byte_t
*
p_bytes
;
...
...
@@ -366,13 +366,12 @@ static int OSSThread( aout_instance_t * p_aout )
}
}
while
(
!
(
p_buffer
=
while
(
!
p_aout
->
b_die
&&
!
(
p_buffer
=
aout_OutputNextBuffer
(
p_aout
,
next_date
,
VLC_TRUE
)
)
)
{
msleep
(
1000
0
);
msleep
(
1000
);
next_date
=
mdate
();
}
}
if
(
p_buffer
!=
NULL
)
...
...
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