Mercurial > mplayer.hg
diff libswscale/swscale_template.c @ 19181:e40cf0305d4e
Replace MIN() and MAX() with FFMIN() and FFMAX()
author | lucabe |
---|---|
date | Wed, 26 Jul 2006 13:19:02 +0000 |
parents | dbdc58b6e9bb |
children | 6334c14b38eb |
line wrap: on
line diff
--- a/libswscale/swscale_template.c Wed Jul 26 09:30:43 2006 +0000 +++ b/libswscale/swscale_template.c Wed Jul 26 13:19:02 2006 +0000 @@ -2405,7 +2405,7 @@ val += ((int)src[srcPos + j])*filter[filterSize*i + j]; } // filter += hFilterSize; - dst[i] = MIN(MAX(0, val>>7), (1<<15)-1); // the cubic equation does overflow ... + dst[i] = FFMIN(FFMAX(0, val>>7), (1<<15)-1); // the cubic equation does overflow ... // dst[i] = val>>7; } #endif