summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/eval.c9
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;