OLD | NEW |
1 | 1 |
2 /* png.c - location for general purpose libpng functions | 2 /* png.c - location for general purpose libpng functions |
3 * | 3 * |
4 * Last changed in libpng 1.6.19 [November 12, 2015] | 4 * Last changed in libpng 1.6.19 [November 12, 2015] |
5 * Copyright (c) 1998-2015 Glenn Randers-Pehrson | 5 * Copyright (c) 1998-2015 Glenn Randers-Pehrson |
6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) |
7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) |
8 * | 8 * |
9 * This code is released under the libpng license. | 9 * This code is released under the libpng license. |
10 * For conditions of distribution and use, see the disclaimer | 10 * For conditions of distribution and use, see the disclaimer |
(...skipping 4478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4489 { | 4489 { |
4490 /* Utility to log an error. */ | 4490 /* Utility to log an error. */ |
4491 png_safecat(image->message, (sizeof image->message), 0, error_message); | 4491 png_safecat(image->message, (sizeof image->message), 0, error_message); |
4492 image->warning_or_error |= PNG_IMAGE_ERROR; | 4492 image->warning_or_error |= PNG_IMAGE_ERROR; |
4493 png_image_free(image); | 4493 png_image_free(image); |
4494 return 0; | 4494 return 0; |
4495 } | 4495 } |
4496 | 4496 |
4497 #endif /* SIMPLIFIED READ/WRITE */ | 4497 #endif /* SIMPLIFIED READ/WRITE */ |
4498 #endif /* READ || WRITE */ | 4498 #endif /* READ || WRITE */ |
OLD | NEW |