diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-10 14:40:04 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-01-10 14:40:04 +0800 |
commit | cff1adedd3c9ee5348c7b992d50f87569625f142 (patch) | |
tree | ffd66d6784bc142549d45886ae2546557632f606 /va | |
parent | 9c371669b09d9f61680d0c33d0976c220a195c1f (diff) |
Remove dependency on X11/Xlib.h
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'va')
-rw-r--r-- | va/va.c | 3 | ||||
-rw-r--r-- | va/va_backend.h | 3 |
2 files changed, 3 insertions, 3 deletions
@@ -47,6 +47,9 @@ #define CHECK_MAXIMUM(s, ctx, var) if (!va_checkMaximum(ctx->max_##var, #var)) s = VA_STATUS_ERROR_UNKNOWN; #define CHECK_STRING(s, ctx, var) if (!va_checkString(ctx->str_##var, #var)) s = VA_STATUS_ERROR_UNKNOWN; +#define Bool int +#define True 1 +#define False 0 /* * read a config "env" for libva.conf or from environment setting diff --git a/va/va_backend.h b/va/va_backend.h index cddf759..47ca719 100644 --- a/va/va_backend.h +++ b/va/va_backend.h @@ -30,9 +30,6 @@ #define _VA_BACKEND_H_ #include <va/va.h> -#ifndef ANDROID -#include <X11/Xlib.h> -#endif #include <linux/videodev2.h> typedef struct VADriverContext *VADriverContextP; |