diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-10 17:50:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-10 17:50:49 +0000 |
commit | ff9a056d1a9e22440214176d7523c6a0c782167b (patch) | |
tree | 02ea599ee89bb8583f8acd65b914de6ab1ef2021 | |
parent | 6b79dbce0c7529199ce1c6cc7d552d43146362cc (diff) | |
download | ffmpeg-ff9a056d1a9e22440214176d7523c6a0c782167b.tar.gz |
Fix build failure due to %%eip on x86_64.
Originally committed as revision 27569 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/swscale_template.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index ea111418ff..81743f2d1a 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -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" + : ); } |