[libpng17] Removed now-obsolete comments.

This commit is contained in:
Glenn Randers-Pehrson 2015-02-10 19:55:20 -06:00
parent 9149259041
commit 1fd10de101
2 changed files with 0 additions and 6 deletions

View File

@ -342,10 +342,6 @@ struct png_struct_def
#endif
#ifdef PNG_WRITE_SUPPORTED
/* This is somewhat excessive, there is no obvious reason on write to
* allocate a buffer for each possible filtered row, only for the one being
* tested and the current best.
*/
png_bytep try_row; /* buffer to save trial row when filtering */
#endif

View File

@ -3030,7 +3030,6 @@ png_write_find_filter(png_structrp png_ptr, png_row_infop row_info)
if (best_filter_value != last_tested_row_value)
{
/* TO DO: make this redundant code into functions? */
if (best_filter_value == PNG_FILTER_VALUE_SUB)
png_setup_sub_row(png_ptr, bpp, row_buf, row_bytes);
@ -3042,7 +3041,6 @@ png_write_find_filter(png_structrp png_ptr, png_row_infop row_info)
if (best_filter_value == PNG_FILTER_VALUE_PAETH)
png_setup_paeth_row(png_ptr, bpp, row_buf, row_bytes);
}
png_write_filtered_row(png_ptr, png_ptr->try_row, row_info->rowbytes+1);