From 85770d6e56472eefb690b3871ebf337e08537ce1 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 17 Jul 2011 11:19:35 +0100 Subject: [PATCH] Add libavutil/mathematics.h #includes for INFINITY This fixes build errors in some environments. Signed-off-by: Mans Rullgard --- cmdutils.c | 1 + libavcodec/aaccoder.c | 1 + libavcodec/nellymoserenc.c | 1 + 3 files changed, 3 insertions(+) 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 +#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"