You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
443 B

diff -ur libgdither-0.6/gdither.c libgdither/gdither.c
--- libgdither-0.6/gdither.c 2005-07-24 22:19:30.000000000 +0200
+++ libgdither/gdither.c 2008-04-20 13:43:33.000000000 +0200
@@ -342,7 +342,7 @@
for (i=0; (i + pos) < length && i < GDITHER_CONV_BLOCK; i++) {
conv[i] = x[pos + i];
}
- gdither_runf(s, channel, i, conv, ycast + s->channels * step);
+ gdither_runf(s, channel, i, conv, ycast + pos * step);
pos += i;
}
}