aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/eval.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-08-30 16:16:30 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-08-30 16:16:30 +0000
commit471d7dc3d076bfb47bfb14bb8472abc92103e58b (patch)
tree9fa4e088d0e9de4fe87e59323aee363d1e5d30e1 /libavcodec/eval.c
parent6c1baeb0aa75f2db95bf419ea83c8314b0376b07 (diff)
downloadffmpeg-471d7dc3d076bfb47bfb14bb8472abc92103e58b.tar.gz
undefined M_PI / M_E fix
Originally committed as revision 881 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r--libavcodec/eval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 832af28e62..bcaf4f59b2 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -32,6 +32,10 @@
#define NAN 0
#endif
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
#define STACK_SIZE 100
typedef struct Parser{