- 31 Mar, 2016 1 commit
-
-
Josh de Kock authored
Previously, with JACK installed, the configure script would enable the JACK indev; this broke on OS X due to an incomplete pthreads implementation. Add some simple macros to map libdispatch to pthreads on OS X. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 14 Feb, 2016 3 commits
-
-
KO Myung-Hun authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
KO Myung-Hun authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
KO Myung-Hun authored
1. Manipulate waiting count in pthread_cond_wait() 2. Use builtin atomic functions to manipulate waiting count Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 31 Jan, 2016 1 commit
-
-
Timothy Gu authored
-
- 29 Jan, 2016 1 commit
-
-
Timothy Gu authored
-
- 12 Nov, 2015 1 commit
-
-
KO Myung-Hun authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 30 Oct, 2015 1 commit
-
-
Martin Storsjö authored
This fixes building on older mingw (both mingw.org and mingw64; mingw64 from before May 2011). Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 20 Oct, 2015 1 commit
-
-
Michael Niedermayer authored
This is how the other perl scripts in git call perl Reviewed-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 16 Oct, 2015 2 commits
-
-
Hendrik Leppkes authored
When SSE2 or higher compiler optimizations are used, mingw uses the _mm_mfence intrinsic for MemoryBarrier, however it doesn't include the appropriate headers automatically. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Hendrik Leppkes authored
When SSE2 or higher compiler optimizations are used, mingw uses the _mm_mfence intrinsic for MemoryBarrier, however it doesn't include the appropriate headers automatically.
-
- 15 Oct, 2015 1 commit
-
-
wang-bin authored
_beginthreadex is for desktop only. CreateThread is available for windows store apps on windows (and phone) 8.1 and later. http://msdn.microsoft.com/en-us/library/ms682453%28VS.85%29.aspxSigned-off-by: Matt Oliver <protogonoi@gmail.com>
-
- 11 Oct, 2015 1 commit
-
-
Sean McGovern authored
The versioning facility in the Solaris linker differs from Linux in 3 ways: 1. It does not support globs in linker scripts for symbol versioning -- this is a GNU extension. 2. The linker argument is '-M', instead of '--version-script'. 3. It is picky about line endings. Each symbol or directive must be on a line of it's own. Let's use make_sunver.pl from GCC to generate a version script that works correctly with the Solaris linker. It's function is to correctly expand the globs in the original generated version script. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 07 Oct, 2015 2 commits
-
-
Hendrik Leppkes authored
This removes the requirement of calling w32thread_init before being able to use the threading primitives. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Hendrik Leppkes authored
The emulation uses native InitOnce* APIs on Windows Vista+, and a lock-free/allocation-free approach using atomics and spinning for Windows XP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 30 Sep, 2015 1 commit
-
-
Matt Oliver authored
-
- 24 Jul, 2015 2 commits
-
-
Steve Lhomme authored
favor link over link.exe in case some wrapper script already exists fallback to "link" in the path if the one next to cl is not found Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Steve Lhomme authored
Fallback to "link" in the path if the one next to cl is not found. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 02 Jun, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 25 Mar, 2015 2 commits
-
-
Stephen Hutchinson authored
If the user attempts to use AviSynth 2.5, an error message will now tell them they need to upgrade. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Stephen Hutchinson authored
The demuxer doesn't use these functions, so it shouldn't affect anything. Investigate whether this can be fixed by how headers are checked in configure. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 24 Mar, 2015 1 commit
-
-
Stephen Hutchinson authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 18 Feb, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 11 Dec, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes: CID1257658 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 10 Oct, 2014 2 commits
-
-
James Almer authored
Wrap the function calls in a similar fashion to how it's being done with the critical section API. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
James Almer authored
This silences warnings about passing arguments from incompatible pointer type when targeting Windows Vista or newer. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 09 Oct, 2014 2 commits
-
-
James Almer authored
compat/w32pthreads: use the condition variable API directly when targeting newer versions of Windows Wrap the function calls in a similar fashion to how it's being done with the critical section API. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
-
James Almer authored
This silences warnings about passing arguments from incompatible pointer type when targeting Windows Vista or newer. Tested-by: Matt Oliver <protogonoi@gmail.com> Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
-
- 15 Aug, 2014 2 commits
-
-
Gabriel Dume authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Diego Biurrun authored
This avoids annoying warnings about unused functions. The compatibility wrapper is designed to provide a complete (stub) API, so some functions being unused by some files is natural and no reason for a warning.
-
- 13 Aug, 2014 1 commit
-
-
Martin Storsjö authored
When explicitly targeting Vista or newer (which only happens if the caller explicitly sets _WIN32_WINNT to a high enough value via the extra cflags option - otherwise configure script sets -D_WIN32_WINNT=0x0502), we already unconditionally link to the ConditionVariable functions, since 4622f11f. Similarly use the newer -Ex versions of CreateEvent, CreateSemaphore, InitializeCriticalSection and WaitForSingleObject, that all appeared in Vista. When building Windows Store applications, the older versions of these functions aren't available, only the -Ex functions. When doing such a build, the user can set -D_WIN32_WINNT=0x0600 to forcibly use the newer functions instead. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 26 May, 2014 1 commit
-
-
Nicolas George authored
-
- 10 Mar, 2014 1 commit
-
-
Anton Khirnov authored
The values of {FLT,DBL}_{MAX,MIN} macros on some systems (older musl libc, some BSD flavours) are not exactly representable, i.e. (double)DBL_MAX == DBL_MAX is false This violates (at least some interpretations of) the C99 standard and breaks code (e.g. in vf_fps) like double f = DBL_MAX; [...] if (f == DBL_MAX) { // f has not been changed yet [....] }
-
- 06 Mar, 2014 1 commit
-
-
Andreas Cadhalpun authored
Correct the FSF address for two avisynth files to '51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA' Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 30 Dec, 2013 1 commit
-
-
Reimar Döffinger authored
Since we have this compat/va_copy.h header already we might just as well make use of it for more than one compiler. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 24 Nov, 2013 1 commit
-
-
Derek Buitenhuis authored
This allows MSVC 2013 and ICL to build with no external dependencies. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 07 Nov, 2013 1 commit
-
-
Dave Yeo authored
Signed-off-by: Dave Yeo <daveryeo@telus.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 06 Nov, 2013 1 commit
-
-
Diego Biurrun authored
The macros forbidding the system functions no longer exist, obviating the need for the #undefs.
-
- 27 Aug, 2013 2 commits
-
-
Martin Storsjö authored
This reverts commit 4622f11f. The compiler should be able to do the dead code elimination now without this when the cond_* names point directly to the real functions instead of to local function pointers. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This reduces the call overhead slightly. More noticeably, it restores the earlier (unintended?) feature that condition variable functions work just fine even if w32thread_init() hasn't been called. This was broken as a side effect of 4622f11f, if explicitly targeting Vista+. This makes w32threading work in VP8 again, if targeting Vista+. Signed-off-by: Martin Storsjö <martin@martin.st>
-