aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.h
diff options
context:
space:
mode:
authorLuca Barbato2013-07-10 20:27:03 +0200
committerLuca Barbato2013-07-12 04:34:49 +0200
commitc0d973c41b4568d5bad1295879e35cfa611bdcf2 (patch)
treed982c68e48ffd92fb2da71cbca24124709467cfe /libavcodec/vdpau.h
parente9d394f3fad7e8fd8fc80e3b33cb045bbaceb446 (diff)
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>
Diffstat (limited to 'libavcodec/vdpau.h')
-rw-r--r--libavcodec/vdpau.h6
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. */