diff options
author | Måns Rullgård <mans@mansr.com> | 2009-08-10 01:27:33 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-08-10 01:27:33 +0000 |
commit | 87a920c6bf57d97dca2c42ee1e884f79568f3c9d (patch) | |
tree | 72ae820eb27267aa6b4c1b1c445f5410c867a2b5 | |
parent | 9a88c1dfa806d7b748d0ca6640fccc00d98774ff (diff) | |
download | ffmpeg-87a920c6bf57d97dca2c42ee1e884f79568f3c9d.tar.gz |
eval: include libavutil/mathematics.h for NAN and M_PI
Originally committed as revision 19613 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/eval.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c index cdbab19d2c..95e93107f8 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -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; |