vdpau: Rename union, avoid name conflict with vdpau

Fixes Ticket2203

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-02-05 20:17:42 +01:00
parent ccf9dd00da
commit 68dfe530e0
1 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@
#include <vdpau/vdpau.h>
#include <vdpau/vdpau_x11.h>
union VdpPictureInfo {
union FFVdpPictureInfo {
VdpPictureInfoH264 h264;
VdpPictureInfoMPEG1Or2 mpeg;
VdpPictureInfoVC1 vc1;
@ -88,7 +88,7 @@ typedef struct AVVDPAUContext {
*
* Set by libavcodec.
*/
union VdpPictureInfo info;
union FFVdpPictureInfo info;
/**
* Allocated size of the bitstream_buffers table.
@ -143,7 +143,7 @@ struct vdpau_render_state {
VdpBitstreamBuffer *bitstream_buffers;
/** picture parameter information for all supported codecs */
union VdpPictureInfo info;
union FFVdpPictureInfo info;
};
/* @}*/