[MPlayer-dev-eng] [PATCH] crash in vf_sab

Diego Biurrun diego at biurrun.de
Wed Feb 20 09:24:16 CET 2008


On Wed, Feb 20, 2008 at 04:22:32AM +0100, Michael Niedermayer wrote:
> On Tue, Feb 19, 2008 at 03:00:24PM -0500, Alexander Strange wrote:
> > sab mirrors coefficients past the edge of the picture instead of cropping:
> >    if     (iy<0)  iy=  -iy;
> >    if(iy>=h) iy= h-iy-1;
> > 
> > This produces -1,-2,-3... as it goes further past the end of an image,
> > which crashes. Attached patch changes it to h-1,h-2,h-3….
> 
> ok

Applied.

Diego



More information about the MPlayer-dev-eng mailing list