From 1a2f54912621a54e9678e4693275c0505210e101 Mon Sep 17 00:00:00 2001 From: Guillaume Poirier Date: Sun, 19 Jun 2005 14:35:10 +0000 Subject: [PATCH] 10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32 tested with gcc-2.95, 3.3, 3.4, 4.0 on ia-32 and 3.4, 4.0, 3.3 on amd64 Originally committed as revision 15763 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/swscale_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index ff7f46fb36..ee9cfbe40a 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), "p" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), + :: "m" (src1), "m" (dst), "mp" ((long)dstWidth), "m" (xInc_shr16), "m" (xInc_mask), "r" (src2) : "%"REG_a, "%"REG_b, "%ecx", "%"REG_D, "%esi" );