# HG changeset patch # User reimar # Date 1092169438 0 # Node ID 8953c51668e159c0ebb6d8a281f11f868f79ae3a # Parent 0945a0a7ed982dc6f853ec074cfccfa27512704b width instead of chromWidth causing segfault in some cases diff -r 0945a0a7ed98 -r 8953c51668e1 postproc/rgb2rgb_template.c --- 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" );