summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorRen Zhaohan <zhaohan.ren@intel.com>2010-05-06 09:49:51 +0800
committerRen Zhaohan <zhaohan.ren@intel.com>2010-05-06 09:49:51 +0800
commita9ea9bcf481f4f3b33253484493658b8bee02adf (patch)
tree34a04b996db961a8a7a82e46156155fc94191ef2 /va
parent5bc5efa30ce3a53b69c2560ab50e1a3d9367fdac (diff)
downloadlibva-a9ea9bcf481f4f3b33253484493658b8bee02adf.tar.gz
use Surface* instead of void*
Diffstat (limited to 'va')
-rw-r--r--va/va_android.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/va/va_android.h b/va/va_android.h
index 43b2730..5ba1156 100644
--- a/va/va_android.h
+++ b/va/va_android.h
@@ -2,6 +2,9 @@
#define _VA_ANDROID_H_
#include <va/va.h>
+
+#define Surface void
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -27,7 +30,7 @@ VADisplay vaGetDisplay (
VAStatus vaPutSurface (
VADisplay dpy,
VASurfaceID surface,
- void *draw, /* Android Window/Surface */
+ Surface *draw, /* Android Window/Surface */
short srcx,
short srcy,
unsigned short srcw,