From: Michael Niedermayer Date: Tue, 6 Aug 2013 12:03:40 +0000 (+0200) Subject: avcodec/vdpau.h: define FF_API_CAP_VDPAU if its not defined X-Git-Tag: n2.1~1651 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/50fb8c1114b9c2b7d299cbc17a18a457d12069a8 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: Michael Niedermayer --- diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h index 545b154be0..91948e707b 100644 --- a/libavcodec/vdpau.h +++ b/libavcodec/vdpau.h @@ -53,6 +53,10 @@ #include #include "libavutil/avconfig.h" +#ifndef FF_API_CAP_VDPAU +#define FF_API_CAP_VDPAU 1 +#endif + union AVVDPAUPictureInfo { VdpPictureInfoH264 h264; VdpPictureInfoMPEG1Or2 mpeg;