diff options
author | titer <[email protected]> | 2006-02-01 06:54:14 +0000 |
---|---|---|
committer | titer <[email protected]> | 2006-02-01 06:54:14 +0000 |
commit | 518b6e989690c17a12f17ad26d9da7b03b7d2996 (patch) | |
tree | ba618b478808ab33f9af265236577b40f12b15db /contrib/Jamfile | |
parent | 2d3032c28c89cead061987739ccc3c32fb2d8cf5 (diff) |
Update FFmpeg and use Sam's patch (from VLC) to enable MMX optims on MacIntels
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@22 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/Jamfile')
-rw-r--r-- | contrib/Jamfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/Jamfile b/contrib/Jamfile index 643840386..3271a46ee 100644 --- a/contrib/Jamfile +++ b/contrib/Jamfile @@ -44,7 +44,12 @@ rule LibAvCodec { if $(OS) = MACOSX && $(OSPLAT) = X86 { - FFMPEG_OPTIONS = --disable-mmx ; + FFMPEG_OPTIONS = --enable-memalign-hack ; + FFMPEG_PATCH = "patch -p1 < ../ffmpeg.patch" ; + } + else + { + FFMPEG_PATCH = true ; } Depends $(<) : $(>) ; Depends lib : $(<) ; @@ -53,6 +58,7 @@ actions LibAvCodec { cd `dirname $(>)` && CONTRIB=`pwd` && rm -rf ffmpeg && tar xzf ffmpeg.tar.gz && cd ffmpeg && + $(FFMPEG_PATCH) && ./configure --prefix=$CONTRIB $(FFMPEG_OPTIONS) --enable-gpl && make -C libavcodec && make -C libavutil && make -C libavcodec installlib && make -C libavutil installlib && |