OLD | NEW |
1 | 1 |
2 /* pngwutil.c - utilities to write a PNG file | 2 /* pngwutil.c - utilities to write a PNG file |
3 * | 3 * |
4 * Last changed in libpng 1.6.2 [April 25, 2013] | 4 * Last changed in libpng 1.6.2 [April 25, 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 3002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3013 png_ptr->flush_rows++; | 3013 png_ptr->flush_rows++; |
3014 | 3014 |
3015 if (png_ptr->flush_dist > 0 && | 3015 if (png_ptr->flush_dist > 0 && |
3016 png_ptr->flush_rows >= png_ptr->flush_dist) | 3016 png_ptr->flush_rows >= png_ptr->flush_dist) |
3017 { | 3017 { |
3018 png_write_flush(png_ptr); | 3018 png_write_flush(png_ptr); |
3019 } | 3019 } |
3020 #endif | 3020 #endif |
3021 } | 3021 } |
3022 #endif /* PNG_WRITE_SUPPORTED */ | 3022 #endif /* PNG_WRITE_SUPPORTED */ |
OLD | NEW |