Commit 1009e7f5 authored by Rafaël Carré's avatar Rafaël Carré

Fix typo

parent 8c348652
......@@ -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--;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment