From d3f751e6030545c5e1f312c5a83c1e6ed5794f18 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Tue, 5 Jul 2011 00:42:31 +0200
Subject: Add some missing mathematics.h #includes for av_rescale().

---
 libavformat/flvdec.c  | 1 +
 libavformat/librtmp.c | 1 +
 libavformat/mpegts.c  | 1 +
 3 files changed, 3 insertions(+)

(limited to 'libavformat')

diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 3b7db0e6ca..57eaa84696 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -27,6 +27,7 @@
 #include "libavutil/avstring.h"
 #include "libavutil/dict.h"
 #include "libavutil/intfloat_readwrite.h"
+#include "libavutil/mathematics.h"
 #include "libavcodec/bytestream.h"
 #include "libavcodec/mpeg4audio.h"
 #include "avformat.h"
diff --git a/libavformat/librtmp.c b/libavformat/librtmp.c
index 30fe8a196b..6ccb66bd8c 100644
--- a/libavformat/librtmp.c
+++ b/libavformat/librtmp.c
@@ -24,6 +24,7 @@
  * RTMP protocol based on http://rtmpdump.mplayerhq.hu/ librtmp
  */
 
+#include "libavutil/mathematics.h"
 #include "avformat.h"
 #include "url.h"
 
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index f2ae567789..43cd1fbd6f 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -25,6 +25,7 @@
 #include "libavutil/intreadwrite.h"
 #include "libavutil/log.h"
 #include "libavutil/dict.h"
+#include "libavutil/mathematics.h"
 #include "libavutil/opt.h"
 #include "libavcodec/bytestream.h"
 #include "avformat.h"
-- 
cgit v1.2.3