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

Originally committed as revision 19613 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2009-08-10 01:27:33 +00:00
parent 9a88c1dfa8
commit 87a920c6bf

View File

@ -33,17 +33,10 @@
#include <string.h>
#include <math.h>
#include "libavutil/mathematics.h"
#include "avcodec.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{
int stack_index;
char *s;