diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-04-23 10:44:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-04-23 11:06:19 +0200 |
commit | 3d462373f8e8fa58b697a9b2d93a5edf70841937 (patch) | |
tree | 88a7964e8435c39cf77f3fb214e6d0aed2085748 /libavcodec | |
parent | ab1572609f58b718d77df0bd769ec2315ea6d09e (diff) | |
download | ffmpeg-3d462373f8e8fa58b697a9b2d93a5edf70841937.tar.gz |
aac: add math.h needed for log2f()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aaccoder.c | 1 | ||||
-rw-r--r-- | libavcodec/aacsbr.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index 60be5ef47d..9748fe1e1a 100644 --- a/libavcodec/aaccoder.c +++ b/libavcodec/aaccoder.c @@ -31,6 +31,7 @@ ***********************************/ #include <float.h> +#include <math.h> #include "avcodec.h" #include "put_bits.h" #include "aac.h" diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index 117aa98875..6ac2cbc06a 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -35,6 +35,7 @@ #include <stdint.h> #include <float.h> +#include <math.h> #define ENVELOPE_ADJUSTMENT_OFFSET 2 #define NOISE_FLOOR_OFFSET 6.0f |