summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-10 17:50:49 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-09-10 17:50:49 +0000
commitb42b0e0c92105e9a994276ea1f37c9862845a6fc (patch)
tree7953d15863320dd76c70a5606af5e383b374f5a7 /libswscale
parenta92e68d5a87dacda88a2510997988974d82c48a8 (diff)
downloadmpv-b42b0e0c92105e9a994276ea1f37c9862845a6fc.tar.bz2
mpv-b42b0e0c92105e9a994276ea1f37c9862845a6fc.tar.xz
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')
-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"
+ :
);
}