Add libavutil/mathematics.h #includes for INFINITY
authorMans Rullgard <mans@mansr.com>
Sun, 17 Jul 2011 10:19:35 +0000 (11:19 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 22 Nov 2011 16:36:44 +0000 (16:36 +0000)
This fixes build errors in some environments.

Signed-off-by: Mans Rullgard <mans@mansr.com>
cmdutils.c
libavcodec/aaccoder.c
libavcodec/nellymoserenc.c

index 51f617c..1c2bf46 100644 (file)
@@ -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"
index b64bf9f..f8a8f3d 100644 (file)
@@ -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"
index 0f521db..d3715ac 100644 (file)
@@ -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"