diff 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
line wrap: on
line diff
--- a/eval.c	Mon Aug 10 01:27:30 2009 +0000
+++ b/eval.c	Mon Aug 10 01:27:33 2009 +0000
@@ -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;