OLD | NEW |
1 | 1 |
2 /* pngwio.c - functions for data output | 2 /* pngwio.c - functions for data output |
3 * | 3 * |
4 * Last changed in libpng 1.6.0 [February 14, 2013] | 4 * Last changed in libpng 1.6.0 [February 14, 2013] |
5 * Copyright (c) 1998-2013 Glenn Randers-Pehrson | 5 * Copyright (c) 1998-2013 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 if (png_ptr->read_data_fn != NULL) | 154 if (png_ptr->read_data_fn != NULL) |
155 { | 155 { |
156 png_ptr->read_data_fn = NULL; | 156 png_ptr->read_data_fn = NULL; |
157 | 157 |
158 png_warning(png_ptr, | 158 png_warning(png_ptr, |
159 "Can't set both read_data_fn and write_data_fn in the" | 159 "Can't set both read_data_fn and write_data_fn in the" |
160 " same structure"); | 160 " same structure"); |
161 } | 161 } |
162 } | 162 } |
163 #endif /* PNG_WRITE_SUPPORTED */ | 163 #endif /* PNG_WRITE_SUPPORTED */ |
OLD | NEW |