In article <5651E540.5040200@macpcrepair.co.uk>,
John Ballance <jwb@macpcrepair.co.uk> wrote:
> Hi
> Building today shows libpng has changed upstream. In consequence one of
> the patches in
> libpng-1.2.43-apng.p needs omitting as code it patches isn't there
> like that any more:
> @@ -2159,8 +2252,8 @@
> #ifndef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
> if (png_ptr->row_number == 0 && filter_to_do == PNG_ALL_FILTERS)
> {
> - /* These will never be selected so we need not test them. */
> - filter_to_do &= ~(PNG_FILTER_UP | PNG_FILTER_PAETH);
> + /* These use previous row */
> + filter_to_do &= ~(PNG_FILTER_UP | PNG_FILTER_AVG | PNG_FILTER_PAETH);
> }
>
No comments:
Post a Comment