[vlc-commits] auhal: forgot to unlock a lock..

Felix Paul Kühne git at videolan.org
Tue Jul 5 14:36:07 CEST 2011


vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jul  5 14:36:04 2011 +0200| [483e293e09ed24065ff0b9ebce93825e717354a7] | committer: Felix Paul Kühne

auhal: forgot to unlock a lock..

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=483e293e09ed24065ff0b9ebce93825e717354a7
---

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

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 348aadd..52fc0a2 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -1444,6 +1444,7 @@ static OSStatus StreamListener( AudioObjectID inObjectID,  UInt32 inNumberAddres
         {
             vlc_mutex_lock( &w->lock );
             vlc_cond_signal( &w->cond );
+            vlc_mutex_unlock( &w->lock );
         }
     }
     return( err );



More information about the vlc-commits mailing list