Merge "Fix wrong ordinal(index) for 'png_read_image_with_pick_color'" into tizen accepted/tizen/unified/20191114.042557 submit/tizen/20191113.020537
authorJiyong Min <jiyong.min@samsung.com>
Wed, 13 Nov 2019 02:04:32 +0000 (02:04 +0000)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 13 Nov 2019 02:04:32 +0000 (02:04 +0000)
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 */
 
 /*******************************************************************************