Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
8f1901a6
Commit
8f1901a6
authored
Jun 12, 2007
by
Laurent Aimar
Browse files
Fixed use of released pointer (race condition).
parent
35610daa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/audio_output/output.c
View file @
8f1901a6
...
...
@@ -325,10 +325,12 @@ aout_buffer_t * aout_OutputNextBuffer( aout_instance_t * p_aout,
* --Gibalou
*/
{
const
mtime_t
i_delta
=
p_buffer
->
start_date
-
start_date
;
vlc_mutex_unlock
(
&
p_aout
->
output_fifo_lock
);
if
(
!
p_aout
->
output
.
b_starving
)
msg_Dbg
(
p_aout
,
"audio output is starving ("
I64Fd
"), "
"playing silence"
,
p_buffer
->
start_date
-
start_date
);
"playing silence"
,
i_delta
);
p_aout
->
output
.
b_starving
=
1
;
return
NULL
;
}
...
...
Write
Preview
Supports
Markdown
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