diff src/ffmpeg/libavcodec/avcodec.h @ 818:07107d476f32 trunk

[svn] - remove some more stuff - build libavcodec directly into the module
author nenolod
date Mon, 12 Mar 2007 13:49:56 -0700
parents e8776388b02a
children
line wrap: on
line diff
--- a/src/ffmpeg/libavcodec/avcodec.h	Mon Mar 12 13:14:40 2007 -0700
+++ b/src/ffmpeg/libavcodec/avcodec.h	Mon Mar 12 13:49:56 2007 -0700
@@ -31,7 +31,19 @@
 extern "C" {
 #endif
 
-#include "avutil.h"
+#ifndef NAN
+  #define NAN 0.0/0.0
+#endif
+
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
+#ifndef M_E
+#define M_E  2.7182818284590452354
+#endif
+
+#include "libavutil/avutil.h"
 #include <sys/types.h> /* size_t */
 
 #define AV_STRINGIFY(s)         AV_TOSTRING(s)