[vlc-commits] Fix typo

Rafaël Carré git at videolan.org
Thu Nov 15 02:31:46 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 15 02:31:31 2012 +0100| [1009e7f574f92c2e02bd2a2e48c97e85ddb36be1] | committer: Rafaël Carré

Fix typo

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

 src/misc/threads.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/threads.c b/src/misc/threads.c
index 3d51708..01e1d97 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -166,7 +166,7 @@ int vlc_sem_post (vlc_sem_t *sem)
 void vlc_sem_wait (vlc_sem_t *sem)
 {
     vlc_mutex_lock (&sem->lock);
-    mutex_cleanup_push (&lock->mutex);
+    mutex_cleanup_push (&sem->lock);
     while (!sem->value)
         vlc_cond_wait (&sem->wait, &sem->lock);
     sem->value--;



More information about the vlc-commits mailing list