[vlc-devel] commit: Fix previous commit ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Aug 2 21:08:05 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Aug  2 22:10:45 2008 +0300| [2ea23dde42e48a07d3ea541cbe366c89f9a5cb64] | committer: Rémi Denis-Courmont 

Fix previous commit

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

 src/misc/threads.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/misc/threads.c b/src/misc/threads.c
index c106ad1..dd36dfe 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -469,7 +469,9 @@ static THREAD_RTYPE thread_entry (void *data)
 
     libvlc_priv_t *libpriv = libvlc_priv (obj->p_libvlc);
     vlc_mutex_lock (&libpriv->threads_lock);
-#ifdef NDEBUG
+#ifndef NDEBUG
+    libpriv->threads_count--;
+#else
     if (--libpriv->threads_count == 0)
 #endif
         vlc_cond_signal (&libpriv->threads_wait);




More information about the vlc-devel mailing list