[FFmpeg-cvslog] r19613 - trunk/libavcodec/eval.c

mru subversion
Mon Aug 10 03:27:33 CEST 2009


Author: mru
Date: Mon Aug 10 03:27:33 2009
New Revision: 19613

Log:
eval: include libavutil/mathematics.h for NAN and M_PI

Modified:
   trunk/libavcodec/eval.c

Modified: trunk/libavcodec/eval.c
==============================================================================
--- trunk/libavcodec/eval.c	Mon Aug 10 03:27:30 2009	(r19612)
+++ trunk/libavcodec/eval.c	Mon Aug 10 03:27:33 2009	(r19613)
@@ -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;



More information about the ffmpeg-cvslog mailing list