mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
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:
@@ -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;
|
||||
};
|
||||
|
||||
/* @}*/
|
||||
|
||||
Reference in New Issue
Block a user