aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-02-05 17:39:44 +0100
committerDiego Biurrun <diego@biurrun.de>2015-02-14 10:56:01 -0800
commitecbcebde344c9eaeb8877ba2c5d32eb3af621e7f (patch)
tree62c721514bdabedd635aec7cb7e7ea60beb4b40d /libavcodec
parent36cf8eb4489f8709b5fb1cdb87e125ef53301c2f (diff)
downloadffmpeg-ecbcebde344c9eaeb8877ba2c5d32eb3af621e7f.tar.gz
vdpau: Adjust necessary #includes for vdpau_internal.h
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vdpau_internal.h5
-rw-r--r--libavcodec/vdpau_mpeg12.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index 9cc953887a..f35c99d3a5 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -27,9 +27,10 @@
#include <stdint.h>
#include <vdpau/vdpau.h>
+#include "libavutil/frame.h"
+
#include "avcodec.h"
-#include "mpegvideo.h"
-#include "version.h"
+#include "vdpau.h"
/** Extract VdpVideoSurface from an AVFrame */
static inline uintptr_t ff_vdpau_get_surface_id(AVFrame *pic)
diff --git a/libavcodec/vdpau_mpeg12.c b/libavcodec/vdpau_mpeg12.c
index 421abe960f..cb6f81a76d 100644
--- a/libavcodec/vdpau_mpeg12.c
+++ b/libavcodec/vdpau_mpeg12.c
@@ -24,6 +24,7 @@
#include <vdpau/vdpau.h>
#include "avcodec.h"
+#include "mpegvideo.h"
#include "vdpau.h"
#include "vdpau_internal.h"