@@ -35,7 +35,7 @@ ffreleaseversion="1.2"
35
35
# Build static (default: true)
36
36
ffbuildstatic=true
37
37
# Build shared (default: false)
38
- ffbuildshared=false
38
+ ffbuildshared=true
39
39
# make 32bit build (default: true)
40
40
ff32=true
41
41
# make 64bit build (default: true)
@@ -48,6 +48,7 @@ ffnonfree=true
48
48
ffmpeg=true
49
49
# build ffmbc (default: false)
50
50
ffmbc=false
51
+ ffmbcver=" FFmbc-0.7-rc8"
51
52
# build a 'light' version of ffmpeg (not all libs, personal prefs) (default: false)
52
53
fflight=false
53
54
# Ask me questions and show the intro or run only with options configured above! (default: true)
@@ -736,9 +737,9 @@ build_libnut() {
736
737
}
737
738
738
739
build_ffmbc () {
739
- local localdir=" FFmbc-0.7-rc7 "
740
+ local localdir=${ffmbcver}
740
741
local ffdate=$( date +%Y%m%d)
741
- download_and_unpack_file http://ffmbc.googlecode.com/files/FFmbc-0.7-rc7 .tar.bz2 ${localdir}
742
+ download_and_unpack_file http://ffmbc.googlecode.com/files/${ffmbcver} .tar.bz2 ${localdir}
742
743
cd ${archdir} /${localdir}
743
744
local file2patch=" libavcodec/dxva2_internal.h"
744
745
if grep -Fxq " #include \" dxva.h\" " $file2patch
@@ -793,7 +794,7 @@ build_ffmbc() {
793
794
fi
794
795
795
796
config_options=" --prefix=$ffinstallpath --enable-memalign-hack --arch=$arch --enable-gpl --enable-avisynth --target-os=mingw32 --cross-prefix=$cross_prefix "
796
- config_options=" $config_options --pkg-config=pkg-config --enable-runtime-cpudetect --enable-cross-compile"
797
+ config_options=" $config_options --pkg-config=pkg-config --enable-runtime-cpudetect --enable-cross-compile --disable-w32threads --extra-cflags=-DPTW32_STATIC_LIB "
797
798
if ! $ffvanilla
798
799
then
799
800
config_options=" $config_options --enable-zlib --enable-bzlib --enable-libx264 --enable-libmp3lame --enable-libvpx --extra-libs=-lws2_32 --extra-libs=-lpthread"
0 commit comments