# HG changeset patch # User aurel # Date 1218643281 0 # Node ID 8d46104adf8344dd87ed11c3394b24ee7557ae88 # Parent 3f9f807b86a47599f0065fde71ed244a7f0cdab3 move M_PI definition along with other math definitions diff -r 3f9f807b86a4 -r 8d46104adf83 avutil.h --- a/avutil.h Wed Aug 13 10:04:59 2008 +0000 +++ b/avutil.h Wed Aug 13 16:01:21 2008 +0000 @@ -35,7 +35,7 @@ #define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c) #define LIBAVUTIL_VERSION_MAJOR 49 -#define LIBAVUTIL_VERSION_MINOR 8 +#define LIBAVUTIL_VERSION_MINOR 9 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ diff -r 3f9f807b86a4 -r 8d46104adf83 internal.h --- a/internal.h Wed Aug 13 10:04:59 2008 +0000 +++ b/internal.h Wed Aug 13 16:01:21 2008 +0000 @@ -50,10 +50,6 @@ #endif #endif -#ifndef M_PI -#define M_PI 3.14159265358979323846 -#endif - #ifndef INT16_MIN #define INT16_MIN (-0x7fff-1) #endif diff -r 3f9f807b86a4 -r 8d46104adf83 mathematics.h --- a/mathematics.h Wed Aug 13 10:04:59 2008 +0000 +++ b/mathematics.h Wed Aug 13 16:01:21 2008 +0000 @@ -34,6 +34,9 @@ #ifndef M_LN10 #define M_LN10 2.30258509299404568402 /* log_e 10 */ #endif +#ifndef M_PI +#define M_PI 3.14159265358979323846 /* pi */ +#endif #ifndef M_SQRT1_2 #define M_SQRT1_2 0.70710678118654752440 /* 1/sqrt(2) */ #endif