| OLD | NEW |
| 1 /* pngtrans.c - transforms the data in a row (used by both readers and writers) | 1 /* pngtrans.c - transforms the data in a row (used by both readers and writers) |
| 2 * | 2 * |
| 3 * Last changed in libpng 1.6.2 [April 25, 2013] | 3 * Last changed in libpng 1.6.2 [April 25, 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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 png_get_current_pass_number(png_const_structrp png_ptr) | 831 png_get_current_pass_number(png_const_structrp png_ptr) |
| 832 { | 832 { |
| 833 if (png_ptr != NULL) | 833 if (png_ptr != NULL) |
| 834 return png_ptr->pass; | 834 return png_ptr->pass; |
| 835 return 8; /* invalid */ | 835 return 8; /* invalid */ |
| 836 } | 836 } |
| 837 #endif /* PNG_USER_TRANSFORM_INFO_SUPPORTED */ | 837 #endif /* PNG_USER_TRANSFORM_INFO_SUPPORTED */ |
| 838 #endif /* PNG_READ_USER_TRANSFORM_SUPPORTED || | 838 #endif /* PNG_READ_USER_TRANSFORM_SUPPORTED || |
| 839 PNG_WRITE_USER_TRANSFORM_SUPPORTED */ | 839 PNG_WRITE_USER_TRANSFORM_SUPPORTED */ |
| 840 #endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */ | 840 #endif /* PNG_READ_SUPPORTED || PNG_WRITE_SUPPORTED */ |
| OLD | NEW |