aboutsummaryrefslogtreecommitdiffhomepage
path: root/libswscale/swscale_template.c
diff options
context:
space:
mode:
authorGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-10 17:50:49 +0000
committerGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-10 17:50:49 +0000
commitb42b0e0c92105e9a994276ea1f37c9862845a6fc (patch)
tree7953d15863320dd76c70a5606af5e383b374f5a7 /libswscale/swscale_template.c
parenta92e68d5a87dacda88a2510997988974d82c48a8 (diff)
Fix build failure due to %%eip on x86_64.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27569 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r--libswscale/swscale_template.c10
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"
+ :
);
}