[FFmpeg-cvslog] opt/eval: Include mathematics.h for NAN/INFINITY
Martin Storsjö
git at videolan.org
Sun Jul 1 22:48:56 CEST 2012
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Jun 30 18:49:33 2012 +0300| [3893feeccdf754057fc7c7ac711ae876733f2f33] | committer: Martin Storsjö
opt/eval: Include mathematics.h for NAN/INFINITY
These files use NAN/INFINITY but didn't include mathematics.h to get
the fallback definitions if the system lacks the macros.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3893feeccdf754057fc7c7ac711ae876733f2f33
---
libavutil/eval.c | 1 +
libavutil/opt.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/libavutil/eval.c b/libavutil/eval.c
index 4d8ebf4..36b5ce5 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -29,6 +29,7 @@
#include "avutil.h"
#include "eval.h"
#include "log.h"
+#include "mathematics.h"
typedef struct Parser {
const AVClass *class;
diff --git a/libavutil/opt.c b/libavutil/opt.c
index 9a3c0d4..b1e50f7 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -31,6 +31,7 @@
#include "eval.h"
#include "dict.h"
#include "log.h"
+#include "mathematics.h"
#if FF_API_FIND_OPT
//FIXME order them and do a bin search
More information about the ffmpeg-cvslog
mailing list