[vlc-commits] wmadec: drop M_PI define
Tristan Matthews
git at videolan.org
Wed May 13 19:58:11 CEST 2015
vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed May 13 13:45:11 2015 -0400| [cdcd6c1108ef776ecc5880217ca739ed5d3a95dc] | committer: Tristan Matthews
wmadec: drop M_PI define
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdcd6c1108ef776ecc5880217ca739ed5d3a95dc
---
modules/codec/wmafixed/wmadec.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/codec/wmafixed/wmadec.h b/modules/codec/wmafixed/wmadec.h
index ee7f35d..3e3a320 100644
--- a/modules/codec/wmafixed/wmadec.h
+++ b/modules/codec/wmafixed/wmadec.h
@@ -21,6 +21,7 @@
#define _WMADEC_H
#include <inttypes.h>
+#include <math.h>
#include "asf.h"
#include "bitstream.h" /* For GetBitContext */
@@ -43,8 +44,6 @@
/* XXX: is it a suitable value ? */
#define MAX_CODED_SUPERFRAME_SIZE 16384
-#define M_PI 3.14159265358979323846
-
#define M_PI_F 0x3243f // in fixed 32 format
#define TWO_M_PI_F 0x6487f //in fixed 32
More information about the vlc-commits
mailing list