[libpng16] Add 'const' to png_structrp arguments of png_set_*() APIs.

Because these APIs store to the png_info they can take a
 png_const_structrp now that the error routines also accept
 one of these.
This commit is contained in:
John Bowler
2011-12-28 08:43:37 -06:00
committed by Glenn Randers-Pehrson
parent f87ef8bcb5
commit 4f67e40898
7 changed files with 140 additions and 138 deletions

View File

@@ -238,10 +238,6 @@ struct png_struct_def
png_bytep quantize_index; /* index translation for palette files */
#endif
#if defined(PNG_READ_QUANTIZE_SUPPORTED) || defined(PNG_hIST_SUPPORTED)
png_uint_16p hist; /* histogram */
#endif
#ifdef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
png_byte heuristic_method; /* heuristic for row filter selection */
png_byte num_prev_filters; /* number of weights for previous rows */