diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-05-19 22:49:04 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-05-19 22:49:04 +0000 |
commit | 4e74187db2f5db52f88729efc662df9d6bc763e1 (patch) | |
tree | 996692f4c32c6ca47c91a23e5f080c822db39817 /libswscale/swscale.c | |
parent | 8d2a5139dac63b07f9ef4e1142ee4a2b68bb1fad (diff) | |
download | ffmpeg-4e74187db2f5db52f88729efc662df9d6bc763e1.tar.gz |
Remove PI definition and use M_PI instead.
M_PI is defined by the included file libavutil/mathematics.h.
Originally committed as revision 31185 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 2b02dd3dfd..8868f5b1be 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -63,6 +63,7 @@ untested special converters #include "libavutil/intreadwrite.h" #include "libavutil/x86_cpu.h" #include "libavutil/avutil.h" +#include "libavutil/mathematics.h" #include "libavutil/bswap.h" #include "libavutil/pixdesc.h" @@ -77,12 +78,6 @@ untested special converters #define FAST_BGR2YV12 // use 7 bit coefficients instead of 15 bit -#ifdef M_PI -#define PI M_PI -#else -#define PI 3.14159265358979323846 -#endif - #define isPacked(x) ( \ (x)==PIX_FMT_PAL8 \ || (x)==PIX_FMT_YUYV422 \ |