[vlc-devel] commit: Fixed VLC_CANCEL_INIT value. (Laurent Aimar )

git version control git at videolan.org
Sun Sep 7 17:31:32 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Sep  7 17:34:07 2008 +0200| [1e10103830a93b58be83036ee90a10fc4ffaf9cb] | committer: Laurent Aimar 

Fixed VLC_CANCEL_INIT value.

Threads can be cancelled and are not killed by default.

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

 src/misc/threads.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/threads.c b/src/misc/threads.c
index f122856..03b31f4 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -157,7 +157,7 @@ typedef struct vlc_cancel_t
     bool           killed;
 } vlc_cancel_t;
 
-# define VLC_CANCEL_INIT { NULL, false, true }
+# define VLC_CANCEL_INIT { NULL, true, false }
 #endif
 
 /*****************************************************************************




More information about the vlc-devel mailing list