changeset 977:3c2b94407f02 libavcodec

suppressed redundant math.h - suppressed M_PI redefinition
author bellard
date Tue, 07 Jan 2003 22:43:16 +0000
parents c3758b2e59a1
children fd31916942ef
files ratecontrol.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ratecontrol.c	Tue Jan 07 22:38:25 2003 +0000
+++ b/ratecontrol.c	Tue Jan 07 22:43:16 2003 +0000
@@ -17,8 +17,6 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#include <math.h>
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
@@ -26,10 +24,6 @@
 #undef NDEBUG // allways check asserts, the speed effect is far too small to disable them
 #include <assert.h>
 
-#ifndef M_PI
-#define M_PI 3.14159265358979323846
-#endif
-
 #ifndef M_E
 #define M_E 2.718281828
 #endif