[FFmpeg-cvslog] aac: add math.h needed for log2f()
Michael Niedermayer
git at videolan.org
Sat Apr 23 11:05:40 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Apr 23 10:44:21 2011 +0200| [3d462373f8e8fa58b697a9b2d93a5edf70841937] | committer: Michael Niedermayer
aac: add math.h needed for log2f()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d462373f8e8fa58b697a9b2d93a5edf70841937
---
libavcodec/aaccoder.c | 1 +
libavcodec/aacsbr.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index 60be5ef..9748fe1 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 117aa98..6ac2cbc 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
More information about the ffmpeg-cvslog
mailing list