These files use NAN/INFINITY but didn't include mathematics.h to get
the fallback definitions if the system lacks the macros.
---
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
--
1.7.9.4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel