[libpng16] Removed png_get_signature() and info_ptr->signature from WRITE-only

builds.  Restored png_get_channels() to WRITE-only builds.
This commit is contained in:
Glenn Randers-Pehrson
2012-08-10 07:49:44 -05:00
parent 8d3453a22d
commit 5d1df4fdf4
3 changed files with 4 additions and 3 deletions

2
png.h
View File

@@ -2008,11 +2008,9 @@ PNG_EXPORT(113, void, png_set_rows, (png_const_structrp png_ptr,
png_inforp info_ptr, png_bytepp row_pointers));
#endif
#ifdef PNG_READ_SUPPORTED
/* Returns number of color channels in image. */
PNG_EXPORT(114, png_byte, png_get_channels, (png_const_structrp png_ptr,
png_const_inforp info_ptr));
#endif
#ifdef PNG_EASY_ACCESS_SUPPORTED
/* Returns image width in pixels. */