233
233
if(bpp > 1 && size > 4) {
234
234
// would write off the end of the array if we let it process the last pixel with bpp=3
235
235
int w = bpp==4 ? size : size-3;
236
dsp->add_png_paeth_prediction(dst+i, src+i, last+i, w-i, bpp);
236
dsp->add_paeth_prediction(dst+i, src+i, last+i, w-i, bpp);
239
239
ff_add_png_paeth_prediction(dst+i, src+i, last+i, size-i, bpp);