[vlc-devel] commit: audio_output: Add a missing unlock in DecNew(). (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:28:04 2008 +0200| [6327db9d1a96121b04c70cc137ecf1352dc4aea5] | committer: Pierre d'Herbemont 

audio_output: Add a missing unlock in DecNew().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6327db9d1a96121b04c70cc137ecf1352dc4aea5
---

 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 9c83242..7d032a2 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -125,6 +125,7 @@ static aout_input_t * DecNew( vlc_object_t * p_this, aout_instance_t * p_aout,
                 aout_InputDelete( p_aout, p_aout->pp_inputs[i] );
                 vlc_mutex_unlock( &p_aout->pp_inputs[i]->lock );
             }
+            vlc_mutex_unlock( &p_aout->input_fifos_lock );
             vlc_mutex_unlock( &p_aout->mixer_lock );
             return p_input;
         }




More information about the vlc-devel mailing list