[libav-commits] dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2

Message ID 20120308061631.B46CC5DF37@aruru.libav.org
State New
Headers show

Commit Message

Janne Grunau March 8, 2012, 6:16 a.m.
Module: libav
Branch: master
Commit: 681e72686555c2d334fc20c3c036bc0149139e6b

Author:    Kostya Shishkov <kostya.shishkov@gmail.com>
Committer: Kostya Shishkov <kostya.shishkov@gmail.com>
Date:      Wed Mar  7 20:07:17 2012 +0100

dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2

---

 libavcodec/dca.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index 8e4f819..103f058 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -29,6 +29,7 @@ 
 #include "libavutil/common.h"
 #include "libavutil/intmath.h"
 #include "libavutil/intreadwrite.h"
+#include "libavutil/mathematics.h"
 #include "libavutil/audioconvert.h"
 #include "avcodec.h"
 #include "dsputil.h"