[vlc-commits] android: fix macro expansion

Rémi Denis-Courmont git at videolan.org
Sat May 28 15:08:28 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 28 16:01:13 2016 +0300| [08020ec78339f86d41673671cadd0ea882e18d96] | committer: Rémi Denis-Courmont

android: fix macro expansion

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

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

diff --git a/src/android/thread.c b/src/android/thread.c
index 59e7ddb..e91341f 100644
--- a/src/android/thread.c
+++ b/src/android/thread.c
@@ -60,7 +60,7 @@ static struct timespec mtime_to_ts (mtime_t date)
 
 /* debug */
 #define vlc_assert(x) do { \
-    if (unlikely(!x)) { \
+    if (unlikely(!(x))) { \
     __android_log_print(ANDROID_LOG_ERROR, "vlc", "assert failed %s:%d: %s", \
         __FILE__, __LINE__, #x \
         ); \



More information about the vlc-commits mailing list