ffmpeg: gcc4 and 64bit fixes.

This commit is contained in:
Adrien Destugues
2014-10-24 10:25:20 +00:00
parent 7ec9f4d46d
commit 72f255be9b
2 changed files with 33 additions and 4 deletions

View File

@@ -13,12 +13,14 @@ COPYRIGHT="
" "
SRC_URI="http://www.ffmpeg.org/releases/ffmpeg-0.11.5.tar.bz2" SRC_URI="http://www.ffmpeg.org/releases/ffmpeg-0.11.5.tar.bz2"
CHECKSUM_SHA256="9492991f44d6757080f457c0aef83e68884dbfb925666806c7f7ea0389e5b8c0" CHECKSUM_SHA256="9492991f44d6757080f457c0aef83e68884dbfb925666806c7f7ea0389e5b8c0"
REVISION="1" REVISION="2"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" ARCHITECTURES="x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
if [ $effectiveTargetArchitecture == x86_gcc2 ]; then if [ $effectiveTargetArchitecture == x86_gcc2 ]; then
PATCHES="ffmpeg-0.11.5-gcc2.patch" PATCHES="ffmpeg-0.11.5-gcc2.patch"
else
PATCHES="ffmpeg-0.11.5-gcc4.patch"
fi fi
PROVIDES=" PROVIDES="
@@ -114,7 +116,12 @@ BUILD()
--enable-libvpx \ --enable-libvpx \
--disable-amd3dnow --disable-amd3dnow
make $jobArgs CFLAGS="-fno-PIC -std=gnu9x" if [ "$effectiveTargetArchitecture" == "x86_64" ]; then
pic=-fPIC
else
pic=-fno-PIC
fi
make $jobArgs CFLAGS="$pic -std=gnu9x"
} }
INSTALL() INSTALL()

View File

@@ -0,0 +1,22 @@
From c30864d40845001a62a3f160ad2e28b0612399e8 Mon Sep 17 00:00:00 2001
From: Adrien Destugues <pulkomandy@gmail.com>
Date: Fri, 24 Oct 2014 11:03:59 +0200
Subject: Fix utf8 in documentation.
diff --git a/doc/filters.texi b/doc/filters.texi
index 324a154..7303a7d 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -2924,7 +2924,7 @@ Tile several successive frames together.
It accepts as argument the tile size (i.e. the number of lines and columns)
in the form "@var{w}x@var{h}".
-For example, produce 8×8 PNG tiles of all keyframes (@option{-skip_frame
+For example, produce 8x8 PNG tiles of all keyframes (@option{-skip_frame
nokey}) in a movie:
@example
ffmpeg -skip_frame nokey -i file.avi -vf 'scale=128:72,tile=8x8' -an -vsync 0 keyframes%03d.png
--
1.8.3.4