summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authorgpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-24 12:17:30 +0000
committergpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-24 12:17:30 +0000
commitf7011457b0cc90f2e5720e18d9a738e32fce0607 (patch)
treea9e272b19e64694186240fd825a5c112d430b98a /postproc
parentd8d2b120591a146d810e54e952f2d3acfbf30376 (diff)
downloadmpv-f7011457b0cc90f2e5720e18d9a738e32fce0607.tar.bz2
mpv-f7011457b0cc90f2e5720e18d9a738e32fce0607.tar.xz
Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
that code othewisei (leading to segfaults). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15814 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-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"
);