[Mplayer-cvslog] CVS: main/postproc rgb2rgb_template.c,1.69,1.70

Reimar Döffinger CVS syncmail at mplayerhq.hu
Tue Aug 10 22:24:01 CEST 2004


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	rgb2rgb_template.c 
Log Message:
width instead of chromWidth causing segfault in some cases


Index: rgb2rgb_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/rgb2rgb_template.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- rgb2rgb_template.c	2 May 2004 14:26:28 -0000	1.69
+++ rgb2rgb_template.c	10 Aug 2004 20:23:58 -0000	1.70
@@ -2291,7 +2291,7 @@
 			"movd %%mm0, (%3, %%eax)	\n\t"
 			"addl $4, %%eax			\n\t"
 			" js 1b				\n\t"
-			: : "r" (src+width*6), "r" (src+srcStride+width*6), "r" (udst+width), "r" (vdst+width), "g" (-width)
+			: : "r" (src+chromWidth*6), "r" (src+srcStride+chromWidth*6), "r" (udst+chromWidth), "r" (vdst+chromWidth), "g" (-chromWidth)
 			: "%eax", "%ebx"
 		);
 




More information about the MPlayer-cvslog mailing list