changeset 4560:a798e8cc5e67 libavcodec

gcc 2.95 fix
author michael
date Thu, 22 Feb 2007 00:04:36 +0000
parents 53ed3a394b4b
children 726deec26122
files i386/dsputil_h264_template_mmx.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/i386/dsputil_h264_template_mmx.c	Wed Feb 21 23:48:20 2007 +0000
+++ b/i386/dsputil_h264_template_mmx.c	Thu Feb 22 00:04:36 2007 +0000
@@ -188,8 +188,8 @@
         "pxor   %%mm7, %%mm7        \n\t"
         "movd %5, %%mm2             \n\t"
         "movd %6, %%mm3             \n\t"
-        "movq %7, %%mm4             \n\t"
-        "movq %7, %%mm5             \n\t"
+        "movq "MANGLE(ff_pw_8)", %%mm4\n\t"
+        "movq "MANGLE(ff_pw_8)", %%mm5\n\t"
         "punpcklwd %%mm2, %%mm2     \n\t"
         "punpcklwd %%mm3, %%mm3     \n\t"
         "punpcklwd %%mm2, %%mm2     \n\t"
@@ -246,7 +246,7 @@
         "sub $2, %2                 \n\t"
         "jnz 1b                     \n\t"
         : "+r"(dst), "+r"(src), "+r"(h)
-        : "r"((long)stride), "m"(ff_pw_32), "m"(x), "m"(y), "m"(ff_pw_8)
+        : "r"((long)stride), "m"(ff_pw_32), "m"(x), "m"(y)
     );
 }