[vlc-devel] commit: audio_output: Add a missing unlock in aout_DecDelete(). (Pierre d' Herbemont )
git version control
git at videolan.org
Fri Aug 15 15:26:33 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Aug 15 15:25:34 2008 +0200| [494375f5cd652e1c098e6355c14e6bbde9cbe1c4] | committer: Pierre d'Herbemont
audio_output: Add a missing unlock in aout_DecDelete().
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=494375f5cd652e1c098e6355c14e6bbde9cbe1c4
---
src/audio_output/dec.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index 4e48cad..9c83242 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -223,6 +223,7 @@ int aout_DecDelete( aout_instance_t * p_aout, aout_input_t * p_input )
if ( i_input == p_aout->i_nb_inputs )
{
msg_Err( p_aout, "cannot find an input to delete" );
+ vlc_mutex_unlock( &p_aout->mixer_lock );
return -1;
}
More information about the vlc-devel
mailing list