Commit 50fb8c11 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/vdpau.h: define FF_API_CAP_VDPAU if its not defined

Prevent build failure for applicatins using the old API
This could be replaced be a include of version.h but some applications
would then need extern C wrapers
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3b805dca
......@@ -53,6 +53,10 @@
#include <vdpau/vdpau_x11.h>
#include "libavutil/avconfig.h"
#ifndef FF_API_CAP_VDPAU
#define FF_API_CAP_VDPAU 1
#endif
union AVVDPAUPictureInfo {
VdpPictureInfoH264 h264;
VdpPictureInfoMPEG1Or2 mpeg;
......
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