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

Michael Niedermayer michaelni at gmx.at
Wed Feb 20 04:22:32 CET 2008


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080220/4b8322c6/attachment.pgp>


More information about the MPlayer-dev-eng mailing list