Browse code

aac: add math.h needed for log2f() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2011/04/23 17:44:21
Showing 2 changed files
... ...
@@ -31,6 +31,7 @@
31 31
  ***********************************/
32 32
 
33 33
 #include <float.h>
34
+#include <math.h>
34 35
 #include "avcodec.h"
35 36
 #include "put_bits.h"
36 37
 #include "aac.h"
... ...
@@ -35,6 +35,7 @@
35 35
 
36 36
 #include <stdint.h>
37 37
 #include <float.h>
38
+#include <math.h>
38 39
 
39 40
 #define ENVELOPE_ADJUSTMENT_OFFSET 2
40 41
 #define NOISE_FLOOR_OFFSET 6.0f