diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2013-07-10 20:27:03 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-07-12 04:34:49 +0200 |
commit | c0d973c41b4568d5bad1295879e35cfa611bdcf2 (patch) | |
tree | d982c68e48ffd92fb2da71cbca24124709467cfe | |
parent | e9d394f3fad7e8fd8fc80e3b33cb045bbaceb446 (diff) | |
download | ffmpeg-c0d973c41b4568d5bad1295879e35cfa611bdcf2.tar.gz |
vdpau: use the correct namespace for the union
Vdp is used by libvdpau, use AVVDPAU as used for the rest.
Reported-by: Alexis Ballier <aballier@gentoo.org>
-rw-r--r-- | libavcodec/vdpau.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h index 7e692f767b..a58931503b 100644 --- a/libavcodec/vdpau.h +++ b/libavcodec/vdpau.h @@ -52,7 +52,7 @@ #include <vdpau/vdpau.h> #include <vdpau/vdpau_x11.h> -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. */ |