changeset 12993:8953c51668e1

width instead of chromWidth causing segfault in some cases
author reimar
date Tue, 10 Aug 2004 20:23:58 +0000
parents 0945a0a7ed98
children b67e0c65a9c5
files postproc/rgb2rgb_template.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/rgb2rgb_template.c	Tue Aug 10 20:13:44 2004 +0000
+++ b/postproc/rgb2rgb_template.c	Tue Aug 10 20:23:58 2004 +0000
@@ -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"
 		);