OSDN Git Service

opt/eval: Include mathematics.h for NAN/INFINITY
authorMartin Storsjö <martin@martin.st>
Sat, 30 Jun 2012 15:49:33 +0000 (18:49 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 1 Jul 2012 16:20:11 +0000 (19:20 +0300)
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@martin.st>
libavutil/eval.c
libavutil/opt.c

index 4d8ebf4..36b5ce5 100644 (file)
@@ -29,6 +29,7 @@
 #include "avutil.h"
 #include "eval.h"
 #include "log.h"
+#include "mathematics.h"
 
 typedef struct Parser {
     const AVClass *class;
index 9a3c0d4..b1e50f7 100644 (file)
@@ -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