summaryrefslogtreecommitdiffstats
path: root/bstr.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-08-15 23:23:02 +0300
committerwm4 <wm4@nowhere>2012-08-21 18:22:00 +0200
commit009d9d8706f45bc7cb618891527967e70ed17a8d (patch)
tree6b29dffc19d2c6a6d881e3ec89b4a44e67c58fff /bstr.c
parenta1380f394597e06e04195b1812300550f3c2df40 (diff)
downloadmpv-009d9d8706f45bc7cb618891527967e70ed17a8d.tar.bz2
mpv-009d9d8706f45bc7cb618891527967e70ed17a8d.tar.xz
Adjust ffmpeg/libav #includes to work with recent upstream changes
The <libavutil/avutil.h> stopped including <libavutil/common.h> recursively in recent ffmpeg/libav git revisions. As a result, some files no longer got needed definitions, causing a build failure. Modify #include lines in various files to fix build with the latest versions of ffmpeg/libav headers.
Diffstat (limited to 'bstr.c')
-rw-r--r--bstr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bstr.c b/bstr.c
index 036cf69d42..d3247ce1d6 100644
--- a/bstr.c
+++ b/bstr.c
@@ -17,11 +17,12 @@
*/
#include <string.h>
-#include <libavutil/avutil.h>
#include <assert.h>
#include <ctype.h>
#include <stdarg.h>
+#include <libavutil/common.h>
+
#include "talloc.h"
#include "bstr.h"