diff options
author | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-06-25 19:32:34 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2010-06-25 20:19:59 -0500 |
commit | a582b8f840c4dad1148fee6f0e1f0486f28da5d9 (patch) | |
tree | 4951916ae3f8a0c39ca8c0ef305996daf909cbfd /pngwutil.c | |
parent | 5316f66005c19afb7f92bf45df253622b9c57bfd (diff) | |
download | libpng-a582b8f840c4dad1148fee6f0e1f0486f28da5d9.tar.gz |
[master] Imported from libpng-1.4.3.tarv1.4.3
Diffstat (limited to 'pngwutil.c')
-rw-r--r-- | pngwutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pngwutil.c b/pngwutil.c index 20cff3203..19feb1d98 100644 --- a/pngwutil.c +++ b/pngwutil.c @@ -2106,7 +2106,7 @@ png_write_find_filter(png_structp png_ptr, png_row_infop row_info) png_uint_32 row_bytes = row_info->rowbytes; #ifdef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED int num_p_filters = (int)png_ptr->num_prev_filters; -#endif +#endif png_debug(1, "in png_write_find_filter"); @@ -2116,7 +2116,7 @@ png_write_find_filter(png_structp png_ptr, png_row_infop row_info) /* These will never be selected so we need not test them. */ filter_to_do &= ~(PNG_FILTER_UP | PNG_FILTER_PAETH); } -#endif +#endif /* Find out how many bytes offset each pixel is */ bpp = (row_info->pixel_depth + 7) >> 3; |