[vlc-devel] commit: libvlc: Use a valid pointer as thread var. Only to ease debugging. (Pierre d'Herbemont )
git version control
git at videolan.org
Tue Jun 9 06:24:59 CEST 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Jun 5 19:47:22 2009 -0700| [39877ea21911f47de6f15a8fcfa0a806243fa9ad] | committer: Pierre d'Herbemont
libvlc: Use a valid pointer as thread var. Only to ease debugging.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39877ea21911f47de6f15a8fcfa0a806243fa9ad
---
src/control/event_async.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/control/event_async.c b/src/control/event_async.c
index c16c9d3..cf77f7a 100644
--- a/src/control/event_async.c
+++ b/src/control/event_async.c
@@ -264,7 +264,7 @@ static void * event_async_loop(void * arg)
libvlc_event_listener_t listener;
libvlc_event_t event;
- vlc_threadvar_set(queue(p_em)->is_asynch_dispatch_thread_var, (void*)true);
+ vlc_threadvar_set(queue(p_em)->is_asynch_dispatch_thread_var, p_em);
queue_lock(p_em);
while (true) {
More information about the vlc-devel
mailing list