[FFmpeg-cvslog] Add libavutil/mathematics.h #includes for INFINITY

Mans Rullgard git at videolan.org
Wed Nov 23 04:14:17 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jul 17 11:19:35 2011 +0100| [85770d6e56472eefb690b3871ebf337e08537ce1] | committer: Mans Rullgard

Add libavutil/mathematics.h #includes for INFINITY

This fixes build errors in some environments.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=85770d6e56472eefb690b3871ebf337e08537ce1
---

 cmdutils.c                 |    1 +
 libavcodec/aaccoder.c      |    1 +
 libavcodec/nellymoserenc.c |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/cmdutils.c b/cmdutils.c
index 51f617c..1c2bf46 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 b64bf9f..f8a8f3d 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 0f521db..d3715ac 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"



More information about the ffmpeg-cvslog mailing list