[devel] Fixed some errors with 16_TO_8 macros

pngvalid still fails two tests, problem with row buffer.
This commit is contained in:
Glenn Randers-Pehrson
2011-06-17 22:28:23 -05:00
parent 98f053edbd
commit e6a8060a71
2 changed files with 9 additions and 7 deletions

2
png.h
View File

@@ -1424,7 +1424,7 @@ PNG_FIXED_EXPORT(215, void, png_set_background_fixed, (png_structp png_ptr,
#endif
#ifdef PNG_READ_16_TO_8_SUPPORTED
# ifdef PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
# ifdef PNG_READ_SCALE_16_TO_8_SUPPORTED
/* Scale a 16-bit depth file down to 8-bit, accurately. */
PNG_EXPORT(48, void, png_set_scale_16, (png_structp png_ptr));
# endif