This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
libgdither/libgdither-0.6-gavl.patch

14 lines
443 B
Diff
Raw Normal View History

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;
}
}