libgdither/SOURCES/libgdither-0.6-gavl.patch

14 lines
443 B
Diff
Raw Permalink Normal View History

2019-08-02 12:47:16 +00:00
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;
}
}