On Thu, 5 Apr 2018, Diego Biurrun wrote:

From: wm4 <[email protected]>

This removes the XP compatibility code, and switches entirely to SRW
locks, which are available starting at Windows Vista.

This removes CRITICAL_SECTION use, which allows us to add
PTHREAD_MUTEX_INITIALIZER, which will be useful later.

Windows XP is hereby not a supported build target anymore.

Signed-off-by: Diego Biurrun <[email protected]>
---

Changes to original patch:
- proper w32threads dependencies
- added missing Cygwin flags

Changelog                  |   2 +
compat/w32pthreads.h       | 269 ++-------------------------------------------
configure                  |  19 ++--
libavcodec/pthread_frame.c |   4 -
libavcodec/pthread_slice.c |   4 -
libavfilter/pthread.c      |   4 -
6 files changed, 23 insertions(+), 279 deletions(-)

Looks ok, haven't tested it myself yet.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to