Commit 0da0caa9 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c0d973c4'

* commit 'c0d973c4':
  vdpau: use the correct namespace for the union

Conflicts:
	libavcodec/vdpau.h

See: 68dfe530Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents e9348e10 c0d973c4
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
#include <vdpau/vdpau_x11.h> #include <vdpau/vdpau_x11.h>
#include "libavutil/avconfig.h" #include "libavutil/avconfig.h"
union FFVdpPictureInfo { union AVVDPAUPictureInfo {
VdpPictureInfoH264 h264; VdpPictureInfoH264 h264;
VdpPictureInfoMPEG1Or2 mpeg; VdpPictureInfoMPEG1Or2 mpeg;
VdpPictureInfoVC1 vc1; VdpPictureInfoVC1 vc1;
...@@ -89,7 +89,7 @@ typedef struct AVVDPAUContext { ...@@ -89,7 +89,7 @@ typedef struct AVVDPAUContext {
* *
* Set by libavcodec. * Set by libavcodec.
*/ */
union FFVdpPictureInfo info; union AVVDPAUPictureInfo info;
/** /**
* Allocated size of the bitstream_buffers table. * Allocated size of the bitstream_buffers table.
...@@ -138,7 +138,7 @@ struct vdpau_render_state { ...@@ -138,7 +138,7 @@ struct vdpau_render_state {
#if AV_HAVE_INCOMPATIBLE_LIBAV_ABI #if AV_HAVE_INCOMPATIBLE_LIBAV_ABI
/** picture parameter information for all supported codecs */ /** picture parameter information for all supported codecs */
union FFVdpPictureInfo info; union AVVDPAUPictureInfo info;
#endif #endif
/** Describe size/location of the compressed video data. /** Describe size/location of the compressed video data.
...@@ -150,7 +150,7 @@ struct vdpau_render_state { ...@@ -150,7 +150,7 @@ struct vdpau_render_state {
#if !AV_HAVE_INCOMPATIBLE_LIBAV_ABI #if !AV_HAVE_INCOMPATIBLE_LIBAV_ABI
/** picture parameter information for all supported codecs */ /** picture parameter information for all supported codecs */
union FFVdpPictureInfo info; union AVVDPAUPictureInfo info;
#endif #endif
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment