OLD | NEW |
1 /* pngrio.c - functions for data input | 1 /* pngrio.c - functions for data input |
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 png_warning(png_ptr, | 108 png_warning(png_ptr, |
109 "Can't set both read_data_fn and write_data_fn in the" | 109 "Can't set both read_data_fn and write_data_fn in the" |
110 " same structure"); | 110 " same structure"); |
111 } | 111 } |
112 | 112 |
113 #ifdef PNG_WRITE_FLUSH_SUPPORTED | 113 #ifdef PNG_WRITE_FLUSH_SUPPORTED |
114 png_ptr->output_flush_fn = NULL; | 114 png_ptr->output_flush_fn = NULL; |
115 #endif | 115 #endif |
116 } | 116 } |
117 #endif /* PNG_READ_SUPPORTED */ | 117 #endif /* PNG_READ_SUPPORTED */ |
OLD | NEW |