summaryrefslogtreecommitdiff
path: root/postproc/swscale_template.c
diff options
context:
space:
mode:
authorGuillaume Poirier <gpoirier@mplayerhq.hu>2005-06-24 12:17:30 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2005-06-24 12:17:30 +0000
commit69cf0be2c3930f23905b31dfa389ad14025e0323 (patch)
treeb01095a488aa47dc85dbef3d86de5fad47a7fd06 /postproc/swscale_template.c
parent961e0ccdcaa4fd3a217270ed5da9f2c1efcdf4cc (diff)
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
Diffstat (limited to 'postproc/swscale_template.c')
-rw-r--r--postproc/swscale_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c
index ee9cfbe40a..3d271edd1c 100644
--- a/postproc/swscale_template.c
+++ b/postproc/swscale_template.c
@@ -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"
);