[libpng16] Remove spurious "#ifdef PNG_sRGB_SUPPORTED" from pngrutil.c

This commit is contained in:
John Bowler 2013-10-04 19:28:48 -05:00 committed by Glenn Randers-Pehrson
parent de723276e5
commit 0441ff62e7

View File

@ -1287,9 +1287,7 @@ png_handle_sRGB(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length)
return;
}
#ifdef PNG_sRGB_SUPPORTED
(void)png_colorspace_set_sRGB(png_ptr, &png_ptr->colorspace, intent);
#endif
png_colorspace_sync(png_ptr, info_ptr);
}
#endif /* PNG_READ_sRGB_SUPPORTED */