Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-06-24 20:26:28 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-06-24 20:26:28 +0400
commit47a067e81e283ff8d1f14e671e2f085a371801bc (patch)
tree96a5a9f74d1a79c928c853a4d76aa9161d9a4eb8 /build_ffmpeg.sh
parent645590432717ad9938bf5c1764ab337d31971f04 (diff)
Favor pthreads over w32threads for improved udp protocol support
Diffstat (limited to 'build_ffmpeg.sh')
-rw-r--r--build_ffmpeg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh
index bda9236b..36c00cb5 100644
--- a/build_ffmpeg.sh
+++ b/build_ffmpeg.sh
@@ -42,7 +42,7 @@ configure() (
--enable-shared \
--enable-gpl \
--enable-version3 \
- --enable-w32threads \
+ --enable-pthreads \
--enable-runtime-cpudetect \
--enable-demuxers \
--disable-demuxer=matroska \
@@ -83,7 +83,7 @@ configure() (
--build-suffix=-lav \
--arch=${arch}"
- EXTRA_CFLAGS="-D_WIN32_WINNT=0x0502 -DWINVER=0x0502 -I../thirdparty/include -idirafter../common/includes/dxva2"
+ EXTRA_CFLAGS="-D_WIN32_WINNT=0x0502 -DWINVER=0x0502 -I../thirdparty/include -idirafter../common/includes/dxva2 -DPTW32_STATIC_LIB"
EXTRA_LDFLAGS="-Wl,--nxcompat -Wl,--dynamicbase"
if [ "${arch}" == "x86_64" ]; then
OPTIONS="${OPTIONS} --enable-cross-compile --cross-prefix=x86_64-w64-mingw32- --target-os=mingw32"