changeset 27537:3c8584b0ac41

Fix build failure due to %%eip on x86_64.
author michael
date Wed, 10 Sep 2008 17:50:49 +0000
parents dded40ae9728
children a99aae9a2cd3
files libswscale/swscale_template.c
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale_template.c	Wed Sep 10 16:39:56 2008 +0000
+++ b/libswscale/swscale_template.c	Wed Sep 10 17:50:49 2008 +0000
@@ -1909,13 +1909,15 @@
 
     if(srcFormat == PIX_FMT_BGR24){
         asm volatile(
-            "movq  "MANGLE(ff_bgr24toY1Coeff)", %mm5       \n\t"
-            "movq  "MANGLE(ff_bgr24toY2Coeff)", %mm6       \n\t"
+            "movq  "MANGLE(ff_bgr24toY1Coeff)", %%mm5       \n\t"
+            "movq  "MANGLE(ff_bgr24toY2Coeff)", %%mm6       \n\t"
+            :
         );
     }else{
         asm volatile(
-            "movq  "MANGLE(ff_rgb24toY1Coeff)", %mm5       \n\t"
-            "movq  "MANGLE(ff_rgb24toY2Coeff)", %mm6       \n\t"
+            "movq  "MANGLE(ff_rgb24toY1Coeff)", %%mm5       \n\t"
+            "movq  "MANGLE(ff_rgb24toY2Coeff)", %%mm6       \n\t"
+            :
         );
     }