vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Jan 4 21:09:59 2012 +0200| [dd8fafcdcae05b81b220dd683ca4b42f436b2463] | committer: Rémi Denis-Courmont
vlc_cond_init() only needs clock setup if CS is available > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd8fafcdcae05b81b220dd683ca4b42f436b2463 --- src/posix/thread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/posix/thread.c b/src/posix/thread.c index 122e201..817a2b1 100644 --- a/src/posix/thread.c +++ b/src/posix/thread.c @@ -349,10 +349,10 @@ void vlc_cond_init (vlc_cond_t *p_condvar) { pthread_condattr_t attr; - vlc_clock_setup (); if (unlikely(pthread_condattr_init (&attr))) abort (); #if (_POSIX_CLOCK_SELECTION > 0) + vlc_clock_setup (); pthread_condattr_setclock (&attr, vlc_clock_id); #endif if (unlikely(pthread_cond_init (p_condvar, &attr))) _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
