OLD | NEW |
1 | 1 |
2 /* pngpread.c - read a png file in push mode | 2 /* pngpread.c - read a png file in push mode |
3 * | 3 * |
4 * Last changed in libpng 1.6.18 [July 23, 2015] | 4 * Last changed in libpng 1.6.18 [July 23, 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 1065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1076 | 1076 |
1077 png_voidp PNGAPI | 1077 png_voidp PNGAPI |
1078 png_get_progressive_ptr(png_const_structrp png_ptr) | 1078 png_get_progressive_ptr(png_const_structrp png_ptr) |
1079 { | 1079 { |
1080 if (png_ptr == NULL) | 1080 if (png_ptr == NULL) |
1081 return (NULL); | 1081 return (NULL); |
1082 | 1082 |
1083 return png_ptr->io_ptr; | 1083 return png_ptr->io_ptr; |
1084 } | 1084 } |
1085 #endif /* PROGRESSIVE_READ */ | 1085 #endif /* PROGRESSIVE_READ */ |
OLD | NEW |