[vlc-devel] commit: Simplify headers for VAAPI (Jean-Baptiste Kempf )
git version control
git at videolan.org
Fri Jan 8 19:44:07 CET 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 8 19:34:03 2010 +0100| [f1c31ba284bc4fdf54351b47e4a734d8f8c5696a] | committer: Jean-Baptiste Kempf
Simplify headers for VAAPI
The check for presence has already done in configure.ac
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f1c31ba284bc4fdf54351b47e4a734d8f8c5696a
---
modules/codec/avcodec/vaapi.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index 0436bf1..176b67f 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -42,11 +42,7 @@
#ifdef HAVE_AVCODEC_VAAPI
-#if defined( HAVE_LIBAVCODEC_AVCODEC_H )
-# include <libavcodec/vaapi.h>
-#else
-# error "Missing VAAPI header"
-#endif
+#include <libavcodec/vaapi.h>
#include <X11/Xlib.h>
#include <va/va_x11.h>
More information about the vlc-devel
mailing list