OLD | NEW |
1 /* pngpread.c - read a png file in push mode | 1 /* pngpread.c - read a png file in push mode |
2 * | 2 * |
3 * Last changed in libpng 1.6.0 [February 14, 2013] | 3 * Last changed in libpng 1.6.0 [February 14, 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 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1281 | 1281 |
1282 png_voidp PNGAPI | 1282 png_voidp PNGAPI |
1283 png_get_progressive_ptr(png_const_structrp png_ptr) | 1283 png_get_progressive_ptr(png_const_structrp png_ptr) |
1284 { | 1284 { |
1285 if (png_ptr == NULL) | 1285 if (png_ptr == NULL) |
1286 return (NULL); | 1286 return (NULL); |
1287 | 1287 |
1288 return png_ptr->io_ptr; | 1288 return png_ptr->io_ptr; |
1289 } | 1289 } |
1290 #endif /* PNG_PROGRESSIVE_READ_SUPPORTED */ | 1290 #endif /* PNG_PROGRESSIVE_READ_SUPPORTED */ |
OLD | NEW |