summaryrefslogtreecommitdiffstats
path: root/sub
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 /sub
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 'sub')
-rw-r--r--sub/spudec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/spudec.c b/sub/spudec.c
index 47a3dec22a..47e1676e2e 100644
--- a/sub/spudec.c
+++ b/sub/spudec.c
@@ -35,7 +35,7 @@
#include <string.h>
#include <math.h>
-#include <libavutil/avutil.h>
+#include <libavutil/common.h>
#include <libavutil/intreadwrite.h>
#include <libswscale/swscale.h>