On Fri, Jan 11, 2013 at 11:27:59PM +0200, Rémi Denis-Courmont wrote:
> --- a/libavcodec/vdpau_internal.h
> +++ b/libavcodec/vdpau_internal.h
> @@ -25,8 +25,23 @@
>  
>  #include <stdint.h>
> +#include "vdpau.h"
>  #include "mpegvideo.h"

You cannot just #include vdpau.h here, compilation will fail without
vdpau/vdpau.h, which is #included in vdpau.h.

> +/** Extract VdpVideoSurface from a Picture */
> +static inline VdpVideoSurface ff_vdpau_get_surface_id(Picture *pic)
> +{
> +    return (uintptr_t)pic->f.data[3];
> +}

So maybe this needs to return a different type or be moved somewhere
else.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to