summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_expand.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 /libmpcodecs/vf_expand.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 'libmpcodecs/vf_expand.c')
-rw-r--r--libmpcodecs/vf_expand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmpcodecs/vf_expand.c b/libmpcodecs/vf_expand.c
index 0ff40d4652..b8ac9f728d 100644
--- a/libmpcodecs/vf_expand.c
+++ b/libmpcodecs/vf_expand.c
@@ -21,6 +21,8 @@
#include <string.h>
#include <stdbool.h>
+#include <libavutil/common.h>
+
#include "config.h"
#include "mp_msg.h"
#include "options.h"
@@ -30,7 +32,6 @@
#include "vf.h"
#include "libvo/fastmemcpy.h"
-#include "libavutil/avutil.h"
#include "m_option.h"
#include "m_struct.h"