summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-05 11:21:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-14 12:53:46 +0100
commitf3458a56c117674bf6003b59250c79a13308c05f (patch)
tree940504a2b7c5e18af9e6c4ab4a70b1ac1576d13f /libavcodec/vdpau.h
parent9e5ef1c5c37208326c59d642e2dc7afd3f10b09b (diff)
avcodec/vdpau: try to fix version macro use
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau.h')
-rw-r--r--libavcodec/vdpau.h8
1 files changed, 1 insertions, 7 deletions
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 <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 {