Mercurial > mplayer.hg
changeset 15813:0f5d6aad2554
Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
that code othewisei (leading to segfaults).
author | gpoirier |
---|---|
date | Fri, 24 Jun 2005 12:17:30 +0000 |
parents | 6a9db8a1a5bd |
children | 9d05b304f038 |
files | postproc/swscale_template.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/postproc/swscale_template.c Fri Jun 24 11:01:00 2005 +0000 +++ b/postproc/swscale_template.c Fri Jun 24 12:17:30 2005 +0000 @@ -2547,7 +2547,7 @@ "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" );