| OLD | NEW |
| 1 | 1 |
| 2 /* pngrutil.c - utilities to read a PNG file | 2 /* pngrutil.c - utilities to read a PNG file |
| 3 * | 3 * |
| 4 * Last changed in libpng 1.6.20 [December 3, 2015] | 4 * Last changed in libpng 1.6.20 [December 3, 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 4509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4520 * value from the stream (note that this will result in a fatal error if the | 4520 * value from the stream (note that this will result in a fatal error if the |
| 4521 * IDAT stream has a bogus deflate header window_bits value, but this should | 4521 * IDAT stream has a bogus deflate header window_bits value, but this should |
| 4522 * not be happening any longer!) | 4522 * not be happening any longer!) |
| 4523 */ | 4523 */ |
| 4524 if (png_inflate_claim(png_ptr, png_IDAT) != Z_OK) | 4524 if (png_inflate_claim(png_ptr, png_IDAT) != Z_OK) |
| 4525 png_error(png_ptr, png_ptr->zstream.msg); | 4525 png_error(png_ptr, png_ptr->zstream.msg); |
| 4526 | 4526 |
| 4527 png_ptr->flags |= PNG_FLAG_ROW_INIT; | 4527 png_ptr->flags |= PNG_FLAG_ROW_INIT; |
| 4528 } | 4528 } |
| 4529 #endif /* READ */ | 4529 #endif /* READ */ |
| OLD | NEW |