Mercurial > mplayer.hg
diff libaf/af_format.c @ 28337:34b7297904ac
Drop HAVE_LRINTF check, lrintf is used without checking in other places.
author | diego |
---|---|
date | Mon, 26 Jan 2009 09:54:14 +0000 |
parents | 0ec2ac66f064 |
children | 69346a3311e9 |
line wrap: on
line diff
--- a/libaf/af_format.c Mon Jan 26 09:40:04 2009 +0000 +++ b/libaf/af_format.c Mon Jan 26 09:54:14 2009 +0000 @@ -25,16 +25,9 @@ #include <string.h> #include <inttypes.h> #include <limits.h> +#include <math.h> #include "config.h" -// Integer to float conversion through lrintf() -#if HAVE_LRINTF -#include <math.h> -long int lrintf(float); -#else -#define lrintf(x) ((int)(x)) -#endif - #include "af.h" #include "mpbswap.h" #include "libvo/fastmemcpy.h"