Browse Source

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@martin.st>
tags/n1.0
Martin Storsjö 13 years ago
parent
commit
3893feeccd
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      libavutil/eval.c
  2. +1
    -0
      libavutil/opt.c

+ 1
- 0
libavutil/eval.c View File

@@ -29,6 +29,7 @@
#include "avutil.h"
#include "eval.h"
#include "log.h"
#include "mathematics.h"

typedef struct Parser {
const AVClass *class;


+ 1
- 0
libavutil/opt.c View 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


Loading…
Cancel
Save