From 87a920c6bf57d97dca2c42ee1e884f79568f3c9d Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Mon, 10 Aug 2009 01:27:33 +0000 Subject: eval: include libavutil/mathematics.h for NAN and M_PI Originally committed as revision 19613 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/eval.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libavcodec') 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 #include +#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; -- cgit v1.2.3