From c0d973c41b4568d5bad1295879e35cfa611bdcf2 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 10 Jul 2013 20:27:03 +0200 Subject: [PATCH] vdpau: use the correct namespace for the union Vdp is used by libvdpau, use AVVDPAU as used for the rest. Reported-by: Alexis Ballier --- libavcodec/vdpau.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h index 7e692f767bd..a58931503b3 100644 --- a/libavcodec/vdpau.h +++ b/libavcodec/vdpau.h @@ -52,7 +52,7 @@ #include #include -union VdpPictureInfo { +union AVVDPAUPictureInfo { VdpPictureInfoH264 h264; VdpPictureInfoMPEG1Or2 mpeg; VdpPictureInfoVC1 vc1; @@ -88,7 +88,7 @@ typedef struct AVVDPAUContext { * * Set by libavcodec. */ - union VdpPictureInfo info; + union AVVDPAUPictureInfo info; /** * Allocated size of the bitstream_buffers table. @@ -136,7 +136,7 @@ struct vdpau_render_state { int state; ///< Holds FF_VDPAU_STATE_* values. /** picture parameter information for all supported codecs */ - union VdpPictureInfo info; + union AVVDPAUPictureInfo info; /** Describe size/location of the compressed video data. Set to 0 when freeing bitstream_buffers. */ -- 2.39.2