mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-01 18:21:04 +00:00
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:
parent
961e0ccdca
commit
69cf0be2c3
@ -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"
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user