Skip to content

Commit

Permalink
android: ignore cancellation of foreign threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed May 29, 2016
1 parent ed95571 commit 1ae58ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/android/thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,9 @@ void vlc_control_cancel(int cmd, ...)
vlc_thread_t th = vlc_thread_self();
va_list ap;

if (th == NULL)
return;

va_start(ap, cmd);
switch (cmd)
{
Expand Down

0 comments on commit 1ae58ad

Please sign in to comment.