[FFmpeg-cvslog] aac: add headers needed for log2f()
Michael Niedermayer
git at videolan.org
Mon May 2 03:23:21 CEST 2011
ffmpeg | branch: release/0.6 | Michael Niedermayer <michaelni at gmx.at> | Sat Apr 23 10:44:21 2011 +0200| [036fefebb9c421961c9abef47fbb112481ad81b3] | committer: Reinhard Tartler
aac: add headers needed for log2f()
Allows compilation of aaccoder.c under cygwin
Signed-off-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Reinhard Tartler <siretart at tauware.de>
(cherry picked from commit 30fe9719344f01a147628e07a8e79a9ccc7e0835)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=036fefebb9c421961c9abef47fbb112481ad81b3
---
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 0957469..08c4801 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 ca5c52c..cac34bb 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>
More information about the ffmpeg-cvslog
mailing list