diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h index b1c836c4b6..97889aeea0 100644 --- a/libavcodec/vdpau.h +++ b/libavcodec/vdpau.h @@ -53,13 +53,7 @@ #include #include "libavutil/avconfig.h" #include "libavutil/attributes.h" - -#ifndef FF_API_CAP_VDPAU -#define FF_API_CAP_VDPAU 1 -#endif -#ifndef FF_API_BUFS_VDPAU -#define FF_API_BUFS_VDPAU 1 -#endif +#include "version.h" #if FF_API_BUFS_VDPAU union AVVDPAUPictureInfo {