comparison eval.c @ 10040:8f08abb1dffa libavcodec

eval: include libavutil/mathematics.h for NAN and M_PI
author mru
date Mon, 10 Aug 2009 01:27:33 +0000
parents e557e75172b0
children 685af2860d80
comparison
equal deleted inserted replaced
10039:e557e75172b0 10040:8f08abb1dffa
31 #include <stdio.h> 31 #include <stdio.h>
32 #include <stdlib.h> 32 #include <stdlib.h>
33 #include <string.h> 33 #include <string.h>
34 #include <math.h> 34 #include <math.h>
35 35
36 #include "libavutil/mathematics.h"
36 #include "avcodec.h" 37 #include "avcodec.h"
37 #include "eval.h" 38 #include "eval.h"
38
39 #ifndef NAN
40 #define NAN 0.0/0.0
41 #endif
42
43 #ifndef M_PI
44 #define M_PI 3.14159265358979323846
45 #endif
46 39
47 typedef struct Parser{ 40 typedef struct Parser{
48 int stack_index; 41 int stack_index;
49 char *s; 42 char *s;
50 const double *const_value; 43 const double *const_value;