From 0bfa63cd0d369056d994c166c717624bebef4df5 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Mon, 30 Sep 2013 15:58:53 -0500 Subject: [PATCH] [libpng17] Checked in missing update to pnglibconf.dfa --- scripts/pnglibconf.dfa | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/pnglibconf.dfa b/scripts/pnglibconf.dfa index 5282180ab..91e9ed078 100644 --- a/scripts/pnglibconf.dfa +++ b/scripts/pnglibconf.dfa @@ -779,6 +779,13 @@ option SAVE_UNKNOWN_CHUNKS enables READ_UNKNOWN_CHUNKS, STORE_UNKNOWN_CHUNKS # chunks, the callback can either handle the chunk entirely itself or request # that libpng store the chunk for later retrieval via png_get_unknown_chunks. # +# NOTE: If STORE_UNKNOWN_CHUNKS is not enabled (which is the default if +# both SAVE_UNKNOWN_CHUNKS and WRITE_UNKNOWN_CHUNKS are disabled) then a +# 0 result from the callback will be ignored because no support for saving +# unknown chunks has been compiled in. The normal symptom is that your app +# fails to compile because png_get_unknown_chunks is no longer defined in png.h. +# If you encounter this issue simply enable STORE_UNKNOWN_CHUNKS in your build. +# # Note that there is no 'WRITE_USER_CHUNKS' so the USER_CHUNKS option is always # the same as READ_USER_CHUNKS at present option READ_USER_CHUNKS requires READ, UNKNOWN_CHUNKS