1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

Fix build failure due to %%eip on x86_64.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27569 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2008-09-10 17:50:49 +00:00
parent a92e68d5a8
commit b42b0e0c92

View 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"
:
);
}