[libav-devel] [PATCH] vdpau: Add missing #includes to fix standalone header compilation

Anton Khirnov anton at khirnov.net
Mon Nov 4 19:07:34 CET 2013


On Mon,  4 Nov 2013 18:16:46 +0100, Diego Biurrun <diego at biurrun.de> wrote:
> ---
>  libavcodec/vdpau.h          |    2 ++
>  libavcodec/vdpau_internal.h |    5 ++++-
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h
> index 8bedea5..bf8f666 100644
> --- a/libavcodec/vdpau.h
> +++ b/libavcodec/vdpau.h
> @@ -52,6 +52,8 @@
>  #include <vdpau/vdpau.h>
>  #include <vdpau/vdpau_x11.h>
>  
> +#include "version.h"
> +
>  #if FF_API_BUFS_VDPAU
>  union AVVDPAUPictureInfo {
>      VdpPictureInfoH264        h264;
> diff --git a/libavcodec/vdpau_internal.h b/libavcodec/vdpau_internal.h
> index 9e4ab4e..2fc42d2 100644
> --- a/libavcodec/vdpau_internal.h
> +++ b/libavcodec/vdpau_internal.h
> @@ -26,8 +26,11 @@
>  
>  #include <stdint.h>
>  #include <vdpau/vdpau.h>
> -#include "h264.h"
> +
> +#include "avcodec.h"
>  #include "mpegvideo.h"
> +#include "vdpau.h"

What is vdpau.h for?

-- 
Anton Khirnov


More information about the libav-devel mailing list