comparison 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
comparison
equal deleted inserted replaced
28336:1a5cd79b2e6e 28337:34b7297904ac
23 #include <stdio.h> 23 #include <stdio.h>
24 #include <stdlib.h> 24 #include <stdlib.h>
25 #include <string.h> 25 #include <string.h>
26 #include <inttypes.h> 26 #include <inttypes.h>
27 #include <limits.h> 27 #include <limits.h>
28 #include <math.h>
28 29
29 #include "config.h" 30 #include "config.h"
30 // Integer to float conversion through lrintf()
31 #if HAVE_LRINTF
32 #include <math.h>
33 long int lrintf(float);
34 #else
35 #define lrintf(x) ((int)(x))
36 #endif
37
38 #include "af.h" 31 #include "af.h"
39 #include "mpbswap.h" 32 #include "mpbswap.h"
40 #include "libvo/fastmemcpy.h" 33 #include "libvo/fastmemcpy.h"
41 34
42 /* Functions used by play to convert the input audio to the correct 35 /* Functions used by play to convert the input audio to the correct