From ff09fb86f75de9422fe9ec562bfbe50a33732893 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 19:01:50 +0000 Subject: Apply patch libgdither-0.6-gavl.patch patch_name: libgdither-0.6-gavl.patch present_in_specfile: true --- diff --git a/gdither.c b/gdither.c index 74f356f..4a483ae 100644 --- a/gdither.c +++ b/gdither.c @@ -342,7 +342,7 @@ void gdither_run(GDither s, unsigned int channel, unsigned int length, 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; } }