From 3d462373f8e8fa58b697a9b2d93a5edf70841937 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 23 Apr 2011 10:44:21 +0200 Subject: [PATCH] aac: add math.h needed for log2f() Signed-off-by: Michael Niedermayer --- libavcodec/aaccoder.c | 1 + libavcodec/aacsbr.c | 1 + 2 files changed, 2 insertions(+) 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 +#include #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 #include +#include #define ENVELOPE_ADJUSTMENT_OFFSET 2 #define NOISE_FLOOR_OFFSET 6.0f