[soc]: r4822 - in amr: amrnbfloatdata.h amrnbfloatdec.c
Author: cmcq Date: Wed Jul 29 01:24:30 2009 New Revision: 4822 Log: Include headers for M_PI, memcpy, memmove, log10f, fabsf Modified: amr/amrnbfloatdata.h amr/amrnbfloatdec.c Modified: amr/amrnbfloatdata.h ============================================================================== --- amr/amrnbfloatdata.h Tue Jul 28 18:17:23 2009 (r4821) +++ amr/amrnbfloatdata.h Wed Jul 29 01:24:30 2009 (r4822) @@ -30,6 +30,7 @@ #include <stdint.h> #include <stddef.h> +#include <math.h> #include "libavutil/common.h" Modified: amr/amrnbfloatdec.c ============================================================================== --- amr/amrnbfloatdec.c Tue Jul 28 18:17:23 2009 (r4821) +++ amr/amrnbfloatdec.c Wed Jul 29 01:24:30 2009 (r4822) @@ -27,6 +27,8 @@ #include <stddef.h> +#include <string.h> +#include <math.h> #include "avcodec.h" #include "get_bits.h"
On Wed, Jul 29, 2009 at 01:24:30AM +0200, cmcq wrote:
Author: cmcq Date: Wed Jul 29 01:24:30 2009 New Revision: 4822
Log: Include headers for M_PI, memcpy, memmove, log10f, fabsf
Modified: amr/amrnbfloatdata.h amr/amrnbfloatdec.c
Modified: amr/amrnbfloatdata.h ============================================================================== --- amr/amrnbfloatdata.h Tue Jul 28 18:17:23 2009 (r4821) +++ amr/amrnbfloatdata.h Wed Jul 29 01:24:30 2009 (r4822) @@ -30,6 +30,7 @@
#include <stdint.h> #include <stddef.h> +#include <math.h>
To get M_PI defined, the proper include is "libavutil/mathematics.h". Aurel
participants (2)
-
Aurelien Jacobs -
cmcq