[MPlayer-cvslog] CVS: main/postproc swscale_template.c,1.109,1.110

Reimar Döffinger CVS syncmail at mplayerhq.hu
Wed Jan 19 13:56:19 CET 2005


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	swscale_template.c 
Log Message:
100l, fix broken AMD64 patch. To whoever applied it: Did you actually _try_
to check if it's correct??


Index: swscale_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale_template.c,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- swscale_template.c	22 Oct 2004 00:21:57 -0000	1.109
+++ swscale_template.c	19 Jan 2005 12:56:16 -0000	1.110
@@ -2275,7 +2275,7 @@
 			"mov (%%"REG_b"), %%"REG_S"	\n\t"\
 			"call *%4			\n\t"\
 			"addl (%%"REG_b", %%"REG_a"), %%ecx\n\t"\
-			"add %%"REG_a", %%"REG_d"	\n\t"\
+			"add %%"REG_a", %%"REG_D"	\n\t"\
 			"xor %%"REG_a", %%"REG_a"	\n\t"\
 
 FUNNY_Y_CODE
@@ -2289,7 +2289,7 @@
 
 			:: "m" (src), "m" (dst), "m" (mmx2Filter), "m" (mmx2FilterPos),
 			"m" (funnyYCode)
-			: "%"REG_a, "%"REG_b, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_d
+			: "%"REG_a, "%"REG_b, "%"REG_c, "%"REG_d, "%"REG_S, "%"REG_D
 		);
 		for(i=dstWidth-1; (i*xInc)>>16 >=srcW-1; i--) dst[i] = src[srcW-1]*128;
 	}




More information about the MPlayer-cvslog mailing list