# HG changeset patch # User gpoirier # Date 1119615450 0 # Node ID 0f5d6aad2554722ca65a71e790b8029e820236a8 # Parent 6a9db8a1a5bdf9a915a5ecd16d1fd7131695a532 Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile that code othewisei (leading to segfaults). diff -r 6a9db8a1a5bd -r 0f5d6aad2554 postproc/swscale_template.c --- 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" );