[FFmpeg-cvslog] avcodec/vdpau: try to fix version macro use

Michael Niedermayer git at videolan.org
Thu Nov 14 12:59:31 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov  5 11:21:14 2013 +0100| [f3458a56c117674bf6003b59250c79a13308c05f] | committer: Michael Niedermayer

avcodec/vdpau: try to fix version macro use

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f3458a56c117674bf6003b59250c79a13308c05f
---

 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 {



More information about the ffmpeg-cvslog mailing list