Rename png_reverse_filter_wrapper to png_reverse_filter_copy_line

This commit is contained in:
twinaphex 2015-03-13 19:15:22 +01:00
parent d32550665a
commit ce0fd47c33

View File

@ -315,7 +315,7 @@ error:
return -1; return -1;
} }
static int png_reverse_filter_wrapper(uint32_t *data, const struct png_ihdr *ihdr, static int png_reverse_filter_copy_line(uint32_t *data, const struct png_ihdr *ihdr,
const uint8_t *inflate_buf, struct rpng_process_t *pngp, const uint8_t *inflate_buf, struct rpng_process_t *pngp,
const uint32_t *palette, unsigned filter) const uint32_t *palette, unsigned filter)
{ {
@ -405,7 +405,7 @@ static bool png_reverse_filter(uint32_t *data, const struct png_ihdr *ihdr,
if (pngp->h < ihdr->height) if (pngp->h < ihdr->height)
{ {
unsigned filter = *inflate_buf++; unsigned filter = *inflate_buf++;
ret = png_reverse_filter_wrapper(data, ret = png_reverse_filter_copy_line(data,
ihdr, inflate_buf, pngp, palette, filter); ihdr, inflate_buf, pngp, palette, filter);
} }