eval: include libavutil/mathematics.h for NAN and M_PI

Originally committed as revision 19613 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Måns Rullgård 16 years ago
parent 9a88c1dfa8
commit 87a920c6bf
  1. 9
      libavcodec/eval.c

@ -33,17 +33,10 @@
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
#include "libavutil/mathematics.h"
#include "avcodec.h" #include "avcodec.h"
#include "eval.h" #include "eval.h"
#ifndef NAN
#define NAN 0.0/0.0
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
typedef struct Parser{ typedef struct Parser{
int stack_index; int stack_index;
char *s; char *s;

Loading…
Cancel
Save