From 954a6532160b9eac7773613be105fd706d639ade Mon Sep 17 00:00:00 2001
From: Robert Swain <robert.swain@gmail.com>
Date: Mon, 4 Jul 2011 08:44:49 +0200
Subject: vorbis: vpxenc: Add missing include for av_rescale*

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 libavcodec/libvorbis.c | 1 +
 libavcodec/libvpxenc.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c
index 88da705a32..85cb9c5989 100644
--- a/libavcodec/libvorbis.c
+++ b/libavcodec/libvorbis.c
@@ -30,6 +30,7 @@
 #include "avcodec.h"
 #include "bytestream.h"
 #include "vorbis.h"
+#include "libavutil/mathematics.h"
 
 #undef NDEBUG
 #include <assert.h>
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
index 02f8135381..ca2e6157d5 100644
--- a/libavcodec/libvpxenc.c
+++ b/libavcodec/libvpxenc.c
@@ -30,6 +30,7 @@
 
 #include "avcodec.h"
 #include "libavutil/base64.h"
+#include "libavutil/mathematics.h"
 
 /**
  * Portion of struct vpx_codec_cx_pkt from vpx_encoder.h.
-- 
cgit v1.2.3