[MPlayer-cvslog] CVS: main/postproc swscale_template.c,1.116,1.117

Guillaume Poirier CVS syncmail at mplayerhq.hu
Fri Jun 24 14:17:33 CEST 2005


CVS change done by Guillaume Poirier CVS

Update of /cvsroot/mplayer/main/postproc
In directory mail:/var2/tmp/cvs-serv19376/postproc

Modified Files:
	swscale_template.c 
Log Message:
Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
that code othewisei (leading to segfaults).


Index: swscale_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale_template.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- swscale_template.c	19 Jun 2005 14:35:10 -0000	1.116
+++ swscale_template.c	24 Jun 2005 12:17:30 -0000	1.117
@@ -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"
 		);




More information about the MPlayer-cvslog mailing list