Fix RPNG build failure

This commit is contained in:
twinaphex 2020-08-19 18:20:55 +02:00
parent dff52d8688
commit cb0a193eea

View File

@ -473,7 +473,7 @@ static void png_reverse_filter_adam7_deinterlace_pass(uint32_t *data,
const uint32_t *input, unsigned pass_width, unsigned pass_height,
const struct adam7_pass *pass)
{
unsigned y;
unsigned x, y;
data += pass->y * ihdr->width + pass->x;