Browse Source

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>
tags/n2.1
Luca Barbato 12 years ago
parent
commit
c0d973c41b
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavcodec/vdpau.h

+ 3
- 3
libavcodec/vdpau.h View File

@@ -52,7 +52,7 @@
#include <vdpau/vdpau.h> #include <vdpau/vdpau.h>
#include <vdpau/vdpau_x11.h> #include <vdpau/vdpau_x11.h>


union VdpPictureInfo {
union AVVDPAUPictureInfo {
VdpPictureInfoH264 h264; VdpPictureInfoH264 h264;
VdpPictureInfoMPEG1Or2 mpeg; VdpPictureInfoMPEG1Or2 mpeg;
VdpPictureInfoVC1 vc1; VdpPictureInfoVC1 vc1;
@@ -88,7 +88,7 @@ typedef struct AVVDPAUContext {
* *
* Set by libavcodec. * Set by libavcodec.
*/ */
union VdpPictureInfo info;
union AVVDPAUPictureInfo info;


/** /**
* Allocated size of the bitstream_buffers table. * Allocated size of the bitstream_buffers table.
@@ -136,7 +136,7 @@ struct vdpau_render_state {
int state; ///< Holds FF_VDPAU_STATE_* values. int state; ///< Holds FF_VDPAU_STATE_* values.


/** picture parameter information for all supported codecs */ /** picture parameter information for all supported codecs */
union VdpPictureInfo info;
union AVVDPAUPictureInfo info;


/** Describe size/location of the compressed video data. /** Describe size/location of the compressed video data.
Set to 0 when freeing bitstream_buffers. */ Set to 0 when freeing bitstream_buffers. */


Loading…
Cancel
Save