[FFmpeg-devel] [PATCH 2/2] avcodec/vdpau: try to fix version macro use
Michael Niedermayer
michaelni at gmx.at
Tue Nov 5 12:03:48 CET 2013
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavcodec/vdpau.h | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h
index b1c836c..97889ae 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 {
--
1.7.9.5
More information about the ffmpeg-devel
mailing list