Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile

that code othewisei (leading to segfaults).

Originally committed as revision 15814 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
Guillaume Poirier 2005-06-24 12:17:30 +00:00
parent 961e0ccdca
commit 69cf0be2c3
1 changed files with 1 additions and 1 deletions

View File

@ -2547,7 +2547,7 @@ FUNNY_UV_CODE
"cmp %2, %%"REG_a" \n\t"
" jb 1b \n\t"
:: "m" (src1), "m" (dst), "mp" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
:: "m" (src1), "m" (dst), "g" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask),
"r" (src2)
: "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi"
);