summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-15 18:25:09 +0200
committerwm4 <wm4@nowhere>2013-08-15 23:46:07 +0200
commit88a53309cd22fb183d46e4fc01a58914b8a1b395 (patch)
tree9f7b5e26bd0c19a7a2ee1016f06df6075d1e28b9
parentda76eb9f14dcb7a361dd817aa3d18c4c319b432a (diff)
downloadmpv-88a53309cd22fb183d46e4fc01a58914b8a1b395.tar.bz2
mpv-88a53309cd22fb183d46e4fc01a58914b8a1b395.tar.xz
vdpau: fix compilation on Libav
Libav's <libavcodec/vdpau.h> header uses some libavocdec symbols without forward-declaring them and without including the headers declaring them. FFmpeg's header for this is fine.
-rw-r--r--video/decode/vdpau.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c
index b259ae303a..35d1e1c835 100644
--- a/video/decode/vdpau.c
+++ b/video/decode/vdpau.c
@@ -18,6 +18,7 @@
#include <stddef.h>
#include <assert.h>
+#include <libavcodec/avcodec.h>
#include <libavcodec/vdpau.h>
#include <libavutil/common.h>