[vlc-commits] commit: Kill implicit pointer -> bool cast ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Thu Jul 15 21:01:53 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 15 22:01:34 2010 +0300| [f860d76241de14faf0e1527ad1fb2add998177b1] | committer: Rémi Denis-Courmont
Kill implicit pointer -> bool cast
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f860d76241de14faf0e1527ad1fb2add998177b1
---
src/control/event_async.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/control/event_async.c b/src/control/event_async.c
index bed235e..5dce2a3 100644
--- a/src/control/event_async.c
+++ b/src/control/event_async.c
@@ -70,7 +70,8 @@ static inline bool is_queue_initialized(libvlc_event_manager_t * p_em)
static inline bool current_thread_is_asynch_thread(libvlc_event_manager_t * p_em)
{
- return vlc_threadvar_get(queue(p_em)->is_asynch_dispatch_thread_var);
+ return vlc_threadvar_get(queue(p_em)->is_asynch_dispatch_thread_var)
+ != NULL;
}
/* Lock must be held */
More information about the vlc-commits
mailing list