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

Alexander Strange astrange at ithinksw.com
Tue Feb 19 21:00:24 CET 2008


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….
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sab-crash.diff
Type: application/octet-stream
Size: 905 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080219/65c907b4/attachment.obj>


More information about the MPlayer-dev-eng mailing list