projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a88c1d
)
eval: include libavutil/mathematics.h for NAN and M_PI
author
Måns Rullgård
<mans@mansr.com>
Mon, 10 Aug 2009 01:27:33 +0000
(
01:27
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Mon, 10 Aug 2009 01:27:33 +0000
(
01:27
+0000)
Originally committed as revision 19613 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/eval.c
patch
|
blob
|
history
diff --git
a/libavcodec/eval.c
b/libavcodec/eval.c
index
cdbab19
..
95e9310
100644
(file)
--- 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;