[vlc-commits] wmadec: drop M_PI define
Tristan Matthews
git at videolan.org
Wed Oct 21 17:21:42 CEST 2015
vlc/vlc-2.2 | branch: master | Tristan Matthews <tmatth at videolan.org> | Wed May 13 13:45:11 2015 -0400| [c590de7c4d409772a0cd9a839d567060aa3d660f] | committer: Jean-Baptiste Kempf
wmadec: drop M_PI define
(cherry picked from commit cdcd6c1108ef776ecc5880217ca739ed5d3a95dc)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=c590de7c4d409772a0cd9a839d567060aa3d660f
---
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