10l. Previous GCC4 commit broke compilation with gcc-3.4 and maybe others ia-32
authorGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 19 Jun 2005 14:35:10 +0000 (14:35 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 19 Jun 2005 14:35:10 +0000 (14:35 +0000)
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

index ff7f46f..ee9cfbe 100644 (file)
@@ -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"
                );