OLD | NEW |
1 /* pngrutil.c - utilities to read a PNG file | 1 /* pngrutil.c - utilities to read a PNG file |
2 * | 2 * |
3 * Last changed in libpng 1.6.3 [July 18, 2013] | 3 * Last changed in libpng 1.6.3 [July 18, 2013] |
4 * Copyright (c) 1998-2013 Glenn Randers-Pehrson | 4 * Copyright (c) 1998-2013 Glenn Randers-Pehrson |
5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) |
6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) |
7 * | 7 * |
8 * This code is released under the libpng license. | 8 * This code is released under the libpng license. |
9 * For conditions of distribution and use, see the disclaimer | 9 * For conditions of distribution and use, see the disclaimer |
10 * and license in png.h | 10 * and license in png.h |
(...skipping 4451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4462 * value from the stream (note that this will result in a fatal error if the | 4462 * value from the stream (note that this will result in a fatal error if the |
4463 * IDAT stream has a bogus deflate header window_bits value, but this should | 4463 * IDAT stream has a bogus deflate header window_bits value, but this should |
4464 * not be happening any longer!) | 4464 * not be happening any longer!) |
4465 */ | 4465 */ |
4466 if (png_inflate_claim(png_ptr, png_IDAT) != Z_OK) | 4466 if (png_inflate_claim(png_ptr, png_IDAT) != Z_OK) |
4467 png_error(png_ptr, png_ptr->zstream.msg); | 4467 png_error(png_ptr, png_ptr->zstream.msg); |
4468 | 4468 |
4469 png_ptr->flags |= PNG_FLAG_ROW_INIT; | 4469 png_ptr->flags |= PNG_FLAG_ROW_INIT; |
4470 } | 4470 } |
4471 #endif /* PNG_READ_SUPPORTED */ | 4471 #endif /* PNG_READ_SUPPORTED */ |
OLD | NEW |