OLD | NEW |
1 | 1 |
2 /* pngtrans.c - transforms the data in a row (used by both readers and writers) | 2 /* pngtrans.c - transforms the data in a row (used by both readers and writers) |
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 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
840 png_byte PNGAPI | 840 png_byte PNGAPI |
841 png_get_current_pass_number(png_const_structrp png_ptr) | 841 png_get_current_pass_number(png_const_structrp png_ptr) |
842 { | 842 { |
843 if (png_ptr != NULL) | 843 if (png_ptr != NULL) |
844 return png_ptr->pass; | 844 return png_ptr->pass; |
845 return 8; /* invalid */ | 845 return 8; /* invalid */ |
846 } | 846 } |
847 #endif /* USER_TRANSFORM_INFO */ | 847 #endif /* USER_TRANSFORM_INFO */ |
848 #endif /* READ_USER_TRANSFORM || WRITE_USER_TRANSFORM */ | 848 #endif /* READ_USER_TRANSFORM || WRITE_USER_TRANSFORM */ |
849 #endif /* READ || WRITE */ | 849 #endif /* READ || WRITE */ |
OLD | NEW |