Commit 49cafbcc authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

audio_output/output.c: Make sure we are properly locking the fifo lock when...

audio_output/output.c: Make sure we are properly locking the fifo lock when appropriate. (please review).
parent 03a184cc
......@@ -230,7 +230,10 @@ void aout_OutputDelete( aout_instance_t * p_aout )
aout_FiltersDestroyPipeline( p_aout, p_aout->output.pp_filters,
p_aout->output.i_nb_filters );
vlc_mutex_lock( &p_aout->output_fifo_lock );
aout_FifoDestroy( p_aout, &p_aout->output.fifo );
vlc_mutex_unlock( &p_aout->output_fifo_lock );
p_aout->output.b_error = VLC_TRUE;
}
......
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