[FFmpeg-devel] [PATCH 2/2] compat/w32pthreads: use the condition variable API directly when targeting newer versions of Windows
jamrial at gmail.com
Thu Oct 9 22:53:44 CEST 2014
On 09/10/14 5:34 PM, Michael Niedermayer wrote:
> On Thu, Oct 09, 2014 at 01:52:08PM -0300, James Almer wrote:
>> 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 at gmail.com>
>> The redefinition of InitializeCriticalSection and WaitForSingleObject is not
>> removed now, as it's still needed by other functions.
>> Sorry for missing it earlier.
>> compat/w32pthreads.h | 61 +++++++++++++++++++++++++++++++++-------------------
>> 1 file changed, 39 insertions(+), 22 deletions(-)
> probably ok also
> tested with mingw 32 & 64
More information about the ffmpeg-devel