summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2005-05-05 04:45:47 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2005-05-05 04:45:47 +0000
commit42e5998859fb101eb14fbfe3bb4fed407c1e99a3 (patch)
tree9f7f2eb26eb3dd1bc7dffd5b2ac3cb9d87bc1a44 /media-video/ffmpeg/files
parentVarious bug fixes... (diff)
downloadgentoo-2-42e5998859fb101eb14fbfe3bb4fed407c1e99a3.tar.gz
gentoo-2-42e5998859fb101eb14fbfe3bb4fed407c1e99a3.tar.bz2
gentoo-2-42e5998859fb101eb14fbfe3bb4fed407c1e99a3.zip
Re-add missing patch.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'media-video/ffmpeg/files')
-rw-r--r--media-video/ffmpeg/files/0.4.8-gcc3.4-magicF2W.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/media-video/ffmpeg/files/0.4.8-gcc3.4-magicF2W.patch b/media-video/ffmpeg/files/0.4.8-gcc3.4-magicF2W.patch
new file mode 100644
index 000000000000..d227610656c5
--- /dev/null
+++ b/media-video/ffmpeg/files/0.4.8-gcc3.4-magicF2W.patch
@@ -0,0 +1,18 @@
+--- libavcodec/liba52/resample_mmx.c 2004/05/01 14:38:45 1.1
++++ libavcodec/liba52/resample_mmx.c 2004/05/01 14:58:39
+@@ -7,10 +7,10 @@
+ and it would mean (C / MMX2 / MMX / 3DNOW) versions
+ */
+
+-static uint64_t __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
+-static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
+-static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
+-static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
++static uint64_t __attribute__((used)) __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
+
+ static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){
+ int32_t * f = (int32_t *) _f;
+