summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_uspp.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_uspp.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_uspp.c')
-rw-r--r--libmpcodecs/vf_uspp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmpcodecs/vf_uspp.c b/libmpcodecs/vf_uspp.c
index 91c0e61847..8f6dfd25ee 100644
--- a/libmpcodecs/vf_uspp.c
+++ b/libmpcodecs/vf_uspp.c
@@ -25,13 +25,14 @@
#include <math.h>
#include <assert.h>
+#include <libavcodec/avcodec.h>
+#include <libavutil/mem.h>
+
#include "config.h"
#include "mp_msg.h"
#include "cpudetect.h"
-#include "libavcodec/avcodec.h"
-
#include "img_format.h"
#include "mp_image.h"
#include "vf.h"