[libpng14] Imported from libpng-1.4.9rc01.tar

This commit is contained in:
Glenn Randers-Pehrson
2012-02-17 13:27:42 -06:00
parent 3ef6c2439c
commit a22646a5df
30 changed files with 83 additions and 81 deletions

View File

@@ -396,11 +396,7 @@ png_decompress_chunk(png_structp png_ptr, int comp_type,
* and we have nothing to do - the code will exit through the
* error case below.
*/
#if defined(PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED) || \
defined(PNG_USER_CHUNK_MALLOC_MAX)
else
#endif
if (expanded_size > 0)
else if (expanded_size > 0)
{
/* Success (maybe) - really uncompress the chunk. */
png_size_t new_size = 0;