From 70cbf33405f50dfaf77e85f382a188acf17dc71a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 4 Nov 2013 18:16:46 +0100 Subject: vdpau: Add missing #includes to fix standalone header compilation Signed-off-by: Anton Khirnov --- libavcodec/vdpau_internal.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libavcodec/vdpau_internal.h') 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 #include -#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 { -- cgit v1.2.3