[libpng16] Removed #ifdef PNG_16BIT_SUPPORTED/#endif around png_product2(); it is

needed by png_reciprocal2().
Added #ifdef PNG_16BIT_SUPPORTED/#endif around png_log16bit() and
    png_do_swap().
This commit is contained in:
Glenn Randers-Pehrson
2014-11-06 20:58:33 -06:00
parent 674c3e5816
commit 70cb8f9a7e
5 changed files with 20 additions and 8 deletions

View File

@@ -4962,7 +4962,7 @@ png_do_read_transformations(png_structrp png_ptr, png_row_infop row_info)
#ifdef PNG_READ_USER_TRANSFORM_SUPPORTED
if ((png_ptr->transformations & PNG_USER_TRANSFORM) != 0)
{
{
if (png_ptr->read_user_transform_fn != NULL)
(*(png_ptr->read_user_transform_fn)) /* User read transform function */
(png_ptr, /* png_ptr */