summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau_internal.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-11-04 18:16:46 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-04 22:54:55 +0100
commit70cbf33405f50dfaf77e85f382a188acf17dc71a (patch)
treeadb38b998ae769aff84d873191c142d444a77cf5 /libavcodec/vdpau_internal.h
parente2b5b097898c9155f4bdff4d83cdc54d5eef6930 (diff)
vdpau: Add missing #includes to fix standalone header compilation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vdpau_internal.h')
-rw-r--r--libavcodec/vdpau_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
index 9e4ab4e3df..50c4f5e74c 100644
--- a/libavcodec/vdpau_internal.h
+++ b/libavcodec/vdpau_internal.h
@@ -26,8 +26,10 @@
#include <stdint.h>
#include <vdpau/vdpau.h>
-#include "h264.h"
+
+#include "avcodec.h"
#include "mpegvideo.h"
+#include "version.h"
/** Extract VdpVideoSurface from a Picture */
static inline uintptr_t ff_vdpau_get_surface_id(Picture *pic)
@@ -42,6 +44,8 @@ union AVVDPAUPictureInfo {
VdpPictureInfoVC1 vc1;
VdpPictureInfoMPEG4Part2 mpeg4;
};
+#else
+#include "vdpau.h"
#endif
struct vdpau_picture_context {