aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-17 11:19:35 +0100
committerMans Rullgard <mans@mansr.com>2011-11-22 16:36:44 +0000
commit85770d6e56472eefb690b3871ebf337e08537ce1 (patch)
tree08ed006b579818a9d0087eb7f2aac074577e354b
parente361b5089a5b782662eac92d4a76b12c6eaa11be (diff)
downloadffmpeg-85770d6e56472eefb690b3871ebf337e08537ce1.tar.gz
Add libavutil/mathematics.h #includes for INFINITY
This fixes build errors in some environments. Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--cmdutils.c1
-rw-r--r--libavcodec/aaccoder.c1
-rw-r--r--libavcodec/nellymoserenc.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 51f617c40a..1c2bf4696b 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -35,6 +35,7 @@
#include "libswscale/swscale.h"
#include "libpostproc/postprocess.h"
#include "libavutil/avstring.h"
+#include "libavutil/mathematics.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/eval.h"
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c
index b64bf9fa2d..f8a8f3d844 100644
--- a/libavcodec/aaccoder.c
+++ b/libavcodec/aaccoder.c
@@ -33,6 +33,7 @@
#include "libavutil/libm.h" // brought forward to work around cygwin header breakage
#include <float.h>
+#include "libavutil/mathematics.h"
#include "avcodec.h"
#include "put_bits.h"
#include "aac.h"
diff --git a/libavcodec/nellymoserenc.c b/libavcodec/nellymoserenc.c
index 0f521db1e9..d3715ac740 100644
--- a/libavcodec/nellymoserenc.c
+++ b/libavcodec/nellymoserenc.c
@@ -35,6 +35,7 @@
* http://wiki.multimedia.cx/index.php?title=Nellymoser
*/
+#include "libavutil/mathematics.h"
#include "nellymoser.h"
#include "avcodec.h"
#include "dsputil.h"