summaryrefslogtreecommitdiff
path: root/pngget.c
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2013-02-05 08:01:09 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-05 08:01:09 -0600
commitfe5c8b9755ef7bd46ef4d9e3dc59f1474c7773c3 (patch)
tree3ef0cf4b74c1e17528fa03e069c35d7f6d24a0f9 /pngget.c
parent8d391c6cea88516abb77f85f24bb6d47a805e58a (diff)
downloadlibpng-fe5c8b9755ef7bd46ef4d9e3dc59f1474c7773c3.tar.gz
[libpng16] Fixed palette_max API.
Diffstat (limited to 'pngget.c')
-rw-r--r--pngget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pngget.c b/pngget.c
index 8f605b3cb..76ed30006 100644
--- a/pngget.c
+++ b/pngget.c
@@ -1163,7 +1163,7 @@ png_get_io_chunk_type (png_const_structrp png_ptr)
#ifdef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
int PNGAPI
-png_get_max_palette_index(png_const_structp png_ptr, png_const_infop info_ptr)
+png_get_palette_max(png_const_structp png_ptr, png_const_infop info_ptr)
{
if (png_ptr != NULL && info_ptr != NULL)
return png_ptr->num_palette_max;