[vlc-commits] android: inline vlc_thread_self() internally
Rémi Denis-Courmont
git at videolan.org
Tue Feb 18 18:58:22 CET 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 17 22:19:30 2020 +0200| [102dced4faae9bd31de8f5288e73953146c01586] | committer: Rémi Denis-Courmont
android: inline vlc_thread_self() internally
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=102dced4faae9bd31de8f5288e73953146c01586
---
src/android/thread.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/android/thread.c b/src/android/thread.c
index 626e20b8e2..d3e8b25c47 100644
--- a/src/android/thread.c
+++ b/src/android/thread.c
@@ -330,7 +330,7 @@ void vlc_testcancel (void)
void vlc_cancel_addr_set(atomic_uint *addr)
{
- vlc_thread_t th = vlc_thread_self();
+ vlc_thread_t th = thread;
if (th == NULL)
return;
@@ -342,7 +342,7 @@ void vlc_cancel_addr_set(atomic_uint *addr)
void vlc_cancel_addr_clear(atomic_uint *addr)
{
- vlc_thread_t th = vlc_thread_self();
+ vlc_thread_t th = thread;
if (th == NULL)
return;
More information about the vlc-commits
mailing list