summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2011-04-23 10:44:21 +0200
committerReinhard Tartler <[email protected]>2011-04-30 08:16:07 +0200
commit036fefebb9c421961c9abef47fbb112481ad81b3 (patch)
treee7bf391a489b2f5150ab8500b5276ccfaa9e8314
parent19166566418e48d13652a6c20468873108cfe955 (diff)
aac: add headers needed for log2f()
Allows compilation of aaccoder.c under cygwin Signed-off-by: Anton Khirnov <[email protected]> Signed-off-by: Reinhard Tartler <[email protected]> (cherry picked from commit 30fe9719344f01a147628e07a8e79a9ccc7e0835)
-rw-r--r--libavcodec/aaccoder.c1
-rw-r--r--libavcodec/aacsbr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index 0957469957..08c4801821 100644
--- a/libavcodec/aaccoder.c
+++ b/libavcodec/aaccoder.c
@@ -35,6 +35,7 @@
#include "aac.h"
#include "aacenc.h"
#include "aactab.h"
+#include "libavutil/libm.h"
/** bits needed to code codebook run value for long windows */
static const uint8_t run_value_bits_long[64] = {
diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c
index ca5c52cce3..cac34bb085 100644
--- a/libavcodec/aacsbr.c
+++ b/libavcodec/aacsbr.c
@@ -32,6 +32,7 @@
#include "aacsbrdata.h"
#include "fft.h"
#include "aacps.h"
+#include "libavutil/libm.h"
#include <stdint.h>
#include <float.h>