diff options
Diffstat (limited to 'src/libpng/pngread.c')
-rw-r--r-- | src/libpng/pngread.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libpng/pngread.c b/src/libpng/pngread.c index 370ecba..a4cbb3e 100644 --- a/src/libpng/pngread.c +++ b/src/libpng/pngread.c @@ -2,11 +2,14 @@ /* pngread.c - read a PNG file * * Last changed in libpng 1.2.37 [June 4, 2009] - * For conditions of distribution and use, see copyright notice in png.h * Copyright (c) 1998-2009 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * + * This code is released under the libpng license. + * For conditions of distribution and use, see the disclaimer + * and license in png.h + * * This file contains routines that an application calls directly to * read a PNG file or stream. */ @@ -102,7 +105,7 @@ png_create_read_struct_2(png_const_charp user_png_ver, png_voidp error_ptr, } else png_ptr->flags |= PNG_FLAG_LIBRARY_MISMATCH; - + if (png_ptr->flags & PNG_FLAG_LIBRARY_MISMATCH) { |