diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-17 19:32:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-17 19:32:46 +0000 |
commit | c9b99ea661656519981493e34ae4b55bf13a044b (patch) | |
tree | 718d48dff3abe085e95cc9acf3ccd2767cea9565 /postproc/swscale_template.c | |
parent | 570233b5b616b4af1dee4863743597bd0beb3ae3 (diff) |
mplayer idependant (not really yet) swscale example
Originally committed as revision 9922 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale_template.c')
-rw-r--r-- | postproc/swscale_template.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index d3c7e1d610..760a4dc3d5 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -2005,6 +2005,7 @@ static inline void RENAME(hScale)(int16_t *dst, int dstW, uint8_t *src, int srcW int16_t *filter, int16_t *filterPos, int filterSize) { #ifdef HAVE_MMX + assert(filterSize % 4 == 0 && filterSize>0); if(filterSize==4) // allways true for upscaling, sometimes for down too { int counter= -2*dstW; |