Fix wrong ordinal(index) for 'png_read_image_with_pick_color'
[platform/upstream/libpng.git] / png.h
diff --git a/png.h b/png.h
index b6d17e5..ed74ca1 100644 (file)
--- a/png.h
+++ b/png.h
@@ -3250,10 +3250,12 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option,
 #endif /* SET_OPTION */
 
 /* VD_TIZEN_ONLY */
+#ifdef _PNG_COLOR_PICK_ENABLED_
 /* Read the whole image into memory at once. */
-PNG_EXPORT(245, void, png_read_image_with_pick_color, (png_structp png_ptr,
+PNG_EXPORT(250, void, png_read_image_with_pick_color, (png_structp png_ptr,
    png_bytepp image,
    PngPickColor *pickcolor));
+#endif
 /* VD_TIZEN_ONLY_END */
 
 /*******************************************************************************