avcodec/vdpau: try to fix version macro use
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Nov 2013 10:21:14 +0000 (11:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Nov 2013 11:53:46 +0000 (12:53 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vdpau.h

index b1c836c..97889ae 100644 (file)
 #include <vdpau/vdpau_x11.h>
 #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 {