Commit e1459f4b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '70cbf334'

* commit '70cbf334':
  vdpau: Add missing #includes to fix standalone header compilation

Conflicts:
	libavcodec/vdpau_internal.h

Not completely merged as this would break use of vdpau.h from C++
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 934e489e 70cbf334
......@@ -28,10 +28,12 @@
#include <stdint.h>
#if CONFIG_VDPAU
#include <vdpau/vdpau.h>
#include "vdpau.h"
#endif
#include "h264.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "version.h"
/** Extract VdpVideoSurface from a Picture */
static inline uintptr_t ff_vdpau_get_surface_id(Picture *pic)
......@@ -47,6 +49,8 @@ union AVVDPAUPictureInfo {
VdpPictureInfoVC1 vc1;
VdpPictureInfoMPEG4Part2 mpeg4;
};
#else
#include "vdpau.h"
#endif
struct vdpau_picture_context {
......
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