Rename rpng_reverse_filter to rpng_reverse_filter_regular

This commit is contained in:
twinaphex 2015-03-13 20:14:47 +01:00
parent 846886c0b9
commit 676b6aaad5

View File

@ -390,7 +390,7 @@ static int png_reverse_filter_copy_line(uint32_t *data, const struct png_ihdr *i
return 0; return 0;
} }
static bool png_reverse_filter(uint32_t *data, const struct png_ihdr *ihdr, static bool png_reverse_filter_regular(uint32_t *data, const struct png_ihdr *ihdr,
struct rpng_process_t *pngp) struct rpng_process_t *pngp)
{ {
int ret; int ret;
@ -451,7 +451,7 @@ static int png_reverse_filter_adam7(uint32_t *data,
goto end; goto end;
} }
if (!png_reverse_filter(pngp->data, if (!png_reverse_filter_regular(pngp->data,
&pngp->ihdr, pngp)) &pngp->ihdr, pngp))
{ {
free(pngp->data); free(pngp->data);
@ -504,7 +504,7 @@ static bool png_reverse_filter_loop(struct rpng_t *rpng,
if (ret == -1) if (ret == -1)
return false; return false;
} }
else if (!png_reverse_filter(*data, else if (!png_reverse_filter_regular(*data,
&rpng->ihdr, &rpng->process)) &rpng->ihdr, &rpng->process))
return false; return false;