--disable-ffserver \
--disable-ffmpeg \
--disable-ffplay \
+ --disable-avconv \
--disable-devices \
--disable-protocols \
--disable-avfilter \
ifeq ($(ARCH),x86_64)
FFMPEGCONF += --cpu=core2
endif
-DEPS_ffmpeg += yasm $(DEPS_yasm)
endif
# Linux
# Windows
ifdef HAVE_WIN32
+DEPS_ffmpeg += directx
FFMPEGCONF += --target-os=mingw32 --enable-memalign-hack
FFMPEGCONF += --enable-w32threads \
--disable-bzlib --disable-bsfs \
- --disable-decoder=dca --disable-encoder=vorbis
+ --disable-decoder=dca --disable-encoder=vorbis \
+ --enable-dxva2
ifdef HAVE_WIN64
-FFMPEGCONF += --disable-dxva2
-
FFMPEGCONF += --cpu=athlon64 --arch=x86_64
else # !WIN64
-FFMPEGCONF += --enable-dxva2
-DEPS_ffmpeg += directx
-
FFMPEGCONF+= --cpu=i686 --arch=x86
endif
else
touch $@
ffmpeg: ffmpeg-$(FFMPEG_VERSION).tar.gz .sum-ffmpeg
- rm -Rf ffmpeg-git
- mkdir -p ffmpeg-git
- zcat "$<" | (cd ffmpeg-git && tar xv --strip-components=1)
-ifdef HAVE_WIN64
- $(APPLY) $(SRC)/ffmpeg/ffmpeg-win64.patch
-endif
+ rm -Rf $@ $@-git
+ mkdir -p $@-git
+ $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
ifdef HAVE_WIN32
sed -i "s/std=c99/std=gnu99/" $@-$(FFMPEG_VERSION)/configure
endif