diff options
author | wm4 <wm4@nowhere> | 2013-08-15 18:25:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-08-15 23:40:02 +0200 |
commit | 04bc16f6ea4eb89913324054e4f539f3feafa6d2 (patch) | |
tree | 273a7b698d7b908555357d3c1d2702095dda106b | |
parent | 006c2f66e109099d1956594234f54a5f3b5f0ec5 (diff) | |
download | mpv-04bc16f6ea4eb89913324054e4f539f3feafa6d2.tar.bz2 mpv-04bc16f6ea4eb89913324054e4f539f3feafa6d2.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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index e0d3241803..2d84bf1540 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> |