diff options
author | Daniel Goller <morfic@gentoo.org> | 2004-06-25 22:52:45 +0000 |
---|---|---|
committer | Daniel Goller <morfic@gentoo.org> | 2004-06-25 22:52:45 +0000 |
commit | 217b6d4f054ad86320bc859ca3c17cca9161f056 (patch) | |
tree | 2df7da96b0604b401e35e75cb6f6084d516429fe /media-video/ffmpeg/files | |
parent | Version bump. (Manifest recommit) (diff) | |
download | gentoo-2-217b6d4f054ad86320bc859ca3c17cca9161f056.tar.gz gentoo-2-217b6d4f054ad86320bc859ca3c17cca9161f056.tar.bz2 gentoo-2-217b6d4f054ad86320bc859ca3c17cca9161f056.zip |
added conditional patch to allow compiling with gcc-3.4.0, closes bug 49383
Diffstat (limited to 'media-video/ffmpeg/files')
-rw-r--r-- | media-video/ffmpeg/files/0.4.8-gcc3.4-magicF2W.patch | 18 |
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; + |