mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Reenable filter selection (dummy)
This implements the code for row-by-row filter selection but does not provide an actual implementation; the selection function just chooses the lowest set filter bit. Signed-off-by: John Bowler <jbowler@acm.org>
This commit is contained in:
6
png.h
6
png.h
@@ -1692,9 +1692,9 @@ PNG_EXPORT(66, void, png_set_crc_action, (png_structrp png_ptr, int crit_action,
|
||||
* when there is no previous row.
|
||||
*
|
||||
* 2) PNG_SELECT_FILTER_SUPPORTED:
|
||||
* libpng will buffer rows until enough data is available to perform a
|
||||
* reasonable filter selection heuristic then select filters for at least the
|
||||
* first buffered row.
|
||||
* If the PNG rows are long enough (have enough bytes; at least 256) libpng
|
||||
* will buffer each row and perform a filter selection heuristic to chose an
|
||||
* appropriate filter.
|
||||
*
|
||||
* 3) !PNG_SELECT_FILTER_SUPPORTED:
|
||||
* libpng selects the first filter in the list (there is no warning that this
|
||||
|
||||
Reference in New Issue
Block a user