[vlc-devel] commit: equalizer: missing unlock. ( Rémi Duraffort )

git version control git at videolan.org
Mon Oct 26 13:09:35 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct 25 11:16:27 2009 +0100| [89f778a6061860e87b323851a1d3d4bcfbef1863] | committer: Rémi Duraffort 

equalizer: missing unlock.

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

 modules/audio_filter/equalizer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/audio_filter/equalizer.c b/modules/audio_filter/equalizer.c
index 8d94ac3..36a21ad 100644
--- a/modules/audio_filter/equalizer.c
+++ b/modules/audio_filter/equalizer.c
@@ -560,6 +560,7 @@ static int PresetCallback( vlc_object_t *p_this, char const *psz_cmd,
             return VLC_SUCCESS;
         }
     }
+    vlc_mutex_unlock( &p_sys->lock );
     msg_Err( p_aout, "equalizer preset '%s' not found", psz_preset );
     msg_Info( p_aout, "full list:" );
     for( unsigned i = 0; eqz_preset_10b[i] != NULL; i++ )




More information about the vlc-devel mailing list