Commit 69cf0be2 authored by Guillaume Poirier's avatar Guillaume Poirier

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
parent 961e0ccd
...@@ -2547,7 +2547,7 @@ FUNNY_UV_CODE ...@@ -2547,7 +2547,7 @@ FUNNY_UV_CODE
"cmp %2, %%"REG_a" \n\t" "cmp %2, %%"REG_a" \n\t"
" jb 1b \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) "r" (src2)
: "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi" : "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi"
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment