[libpng16] Imported from libpng-1.6.1beta06.tar

This commit is contained in:
Glenn Randers-Pehrson
2013-03-04 17:38:04 -06:00
parent f3728100d9
commit 8c87dc88d6
11 changed files with 23 additions and 19 deletions

View File

@@ -2817,9 +2817,13 @@ png_handle_unknown(png_structrp png_ptr, png_inforp info_ptr,
{
# ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
if (png_ptr->unknown_default < PNG_HANDLE_CHUNK_IF_SAFE)
{
png_chunk_warning(png_ptr, "Saving unknown chunk:");
png_app_warning(png_ptr,
"forcing save of an unhandled chunk;"
" please call png_set_keep_unknown_chunks");
/* with keep = PNG_HANDLE_CHUNK_IF_SAFE */
}
# endif
keep = PNG_HANDLE_CHUNK_IF_SAFE;
}