mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
1.1 KiB

  1. diff -ruN ffmpeg-0.4.9-pre1/libavcodec/liba52/resample_mmx.c ffmpeg-0.4.9-pre1-patch/libavcodec/liba52/resample_mmx.c
  2. --- ffmpeg-0.4.9-pre1/libavcodec/liba52/resample_mmx.c 2003-04-16 22:03:07.000000000 +0200
  3. +++ ffmpeg-0.4.9-pre1-patch/libavcodec/liba52/resample_mmx.c 2004-07-21 08:35:46.066975912 +0200
  4. @@ -7,10 +7,10 @@
  5. and it would mean (C / MMX2 / MMX / 3DNOW) versions
  6. */
  7. -static uint64_t __attribute__((aligned(8))) magicF2W= 0x43c0000043c00000LL;
  8. -static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000LL;
  9. -static uint64_t __attribute__((aligned(8))) wm0101= 0x0000FFFF0000FFFFLL;
  10. -static uint64_t __attribute__((aligned(8))) wm1100= 0xFFFFFFFF00000000LL;
  11. +static uint64_t magicF2W attribute_used __attribute__((aligned(8))) = 0x43c0000043c00000LL;
  12. +static uint64_t wm1010 attribute_used __attribute__((aligned(8))) = 0xFFFF0000FFFF0000LL;
  13. +static uint64_t wm0101 attribute_used __attribute__((aligned(8))) = 0x0000FFFF0000FFFFLL;
  14. +static uint64_t wm1100 attribute_used __attribute__((aligned(8))) = 0xFFFFFFFF00000000LL;
  15. static int a52_resample_MONO_to_5_MMX(float * _f, int16_t * s16){
  16. int32_t * f = (int32_t *) _f;