Mercurial > mplayer.hg
view libaf/dsp.h @ 26006:ac00f0e343df
vf_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. Change this to h-1,h-2,h-3.. to avoid the crash.
patch by Alexander Strange, astrange ithinksw com
author | diego |
---|---|
date | Wed, 20 Feb 2008 08:24:26 +0000 |
parents | 3baf6a2283da |
children | 4129c8cfa742 |
line wrap: on
line source
/*============================================================================= // // This software has been released under the terms of the GNU General Public // license. See http://www.gnu.org/copyleft/gpl.html for details. // // Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au // //============================================================================= */ #ifndef DSP_H #define DSP_H /* Implementation of routines used for DSP */ /* Size of floating point type used in routines */ #define _ftype_t float #include <window.h> #include <filter.h> #endif /* DSP_H */