Tune ffmpeg more for armeb and include <strings.h> in libavformat/utils.c
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 23 Nov 2007 09:19:24 +0000 (09:19 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 23 Nov 2007 09:19:24 +0000 (09:19 +0000)
extras/contrib/src/Makefile
extras/contrib/src/Patches/ffmpeg-svn-libavformat.patch [new file with mode: 0644]

index 6e1c744..62962b2 100644 (file)
@@ -133,7 +133,7 @@ FFMPEGCONF+= --arch=armeb --enable-armv5te --enable-iwmmxt
 else
 FFMPEGCONF+= --arch=armv4l
 endif
-FFMPEGCONF+= --enable-small --enable-pthreads --disable-debug --disable-encoders --disable-muxers --disable-demuxer=mpegts --disable-demuxer=ac3 --disable-parser=mpegts --disable-parser=ac3 --disable-mpegaudio-hp --disable-decoder=snow --disable-decoder=vc9 --disable-decoder=wmv3 --disable-decoder=ac3 --disable-decoder=vorbis --disable-decoder=dvdsub --disable-decoder=dvbsub --disable-decoder=nellymoser --disable-protocols 
+FFMPEGCONF+= --enable-small --enable-pthreads --disable-debug --disable-encoders --disable-muxers --disable-demuxers --enable-demuxer=avi --enable-demuxer=avisynth --enable-demuxer=gif --enable-demuxer=h261 --enable-demuxer=h263 --enable-demuxer=h264 --enable-demuxer=image2 --enable-demuxer=image2pipe --enable-demuxer=m4v --enable-demuxer=mjpg --enable-demuxer=mov --enable-demuxer=mpegps --enable-demuxer=mpegvideo --enable-demuxer=yuv4mpegpipe --disable-parsers --enable-parser=mpeg4video --enable-parser=vc1 --enable-parser=mjpeg --enable-parser=mpegaudio --enable-parser=mpegvideo --enable-parser=pnm --enable-parser=h264 --enable-parser=h263 --enable-parser=h264 --disable-mpegaudio-hp --disable-decoder=snow --disable-decoder=vc9 --disable-decoder=wmv3 --disable-decoder=ac3 --disable-decoder=vorbis --disable-decoder=dvdsub --disable-decoder=dvbsub --disable-decoder=nellymoser --disable-protocols 
 FFMPEG_CFLAGS += -DHAVE_LRINTF --std=c99
 else
 FFMPEGCONF+= --enable-libmp3lame --enable-libfaac --enable-liba52 --enable-swscaler
@@ -1070,6 +1070,7 @@ endif
 ifdef HAVE_UCLIBC
        patch -p0 < Patches/ffmpeg-svn-uclibc.patch
        patch -p0 < Patches/ffmpeg-svn-internal-define.patch
+       patch -p0 < Patches/ffmpeg-svn-libavformat.patch
 endif
 
 else
diff --git a/extras/contrib/src/Patches/ffmpeg-svn-libavformat.patch b/extras/contrib/src/Patches/ffmpeg-svn-libavformat.patch
new file mode 100644 (file)
index 0000000..41eeea7
--- /dev/null
@@ -0,0 +1,10 @@
+--- ffmpeg/libavformat/utils.c.org     2007-11-23 10:08:01.000000000 +0100
++++ ffmpeg/libavformat/utils.c 2007-11-23 10:08:40.000000000 +0100
+@@ -24,6 +24,7 @@
+ #include "riff.h"
+ #include <sys/time.h>
+ #include <time.h>
++#include <strings.h>
+ #undef NDEBUG
+ #include <assert.h>