summaryrefslogtreecommitdiff
path: root/libavcodec/ratecontrol.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-01-07 22:43:16 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-07 22:43:16 +0000
commitf08ce7fe3bcb3e7df108d201a6a6a76fe66f8a03 (patch)
tree48d7fd02043ee6b5e1ba06c2cc92b91d70e416ba /libavcodec/ratecontrol.c
parentc4d82fea545bbb293e01b04fb74d39b55813d408 (diff)
suppressed redundant math.h - suppressed M_PI redefinition
Originally committed as revision 1419 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r--libavcodec/ratecontrol.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index 3593c68bf6..bda408dfe8 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -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