Fix build failure due to %%eip on x86_64.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Sep 2008 17:50:49 +0000 (17:50 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Sep 2008 17:50:49 +0000 (17:50 +0000)
Originally committed as revision 27569 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale_template.c

index ea11141..81743f2 100644 (file)
@@ -1909,13 +1909,15 @@ static inline void bgr24ToY_mmx(uint8_t *dst, uint8_t *src, long width, int srcF
 
     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"
+            :
         );
     }