]> git.sesse.net Git - vlc/commitdiff
audio_output: Add a missing unlock in aout_DecDelete().
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 15 Aug 2008 13:25:34 +0000 (15:25 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 15 Aug 2008 13:29:27 +0000 (15:29 +0200)
src/audio_output/dec.c

index 4e48cada7f5109606ceabb39f096c603d8171e16..9c83242fac8a0d225f432b925a7e6c4adbce8ede 100644 (file)
@@ -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;
     }