]> git.sesse.net Git - vlc/commitdiff
Simplify headers for VAAPI
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 8 Jan 2010 18:34:03 +0000 (19:34 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 8 Jan 2010 18:35:15 +0000 (19:35 +0100)
The check for presence has already done in configure.ac

modules/codec/avcodec/vaapi.c

index 0436bf1b1562c59cffd1e2397e2c4f8d0ab60204..176b67fc36d241a57bf78fbdd98347b30b52c7c0 100644 (file)
 
 #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>