summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-07-08 07:53:08 +0000
committerAustin Yuan <shengquan.yuan@intel.com>2009-07-08 17:42:05 +0800
commit0108c576ab09ac33c5edaee78bcc468527e32da8 (patch)
treedd7db6f49334e88a96caa00dbe9fb0cae57ff073 /src
parentebb5f8bab9dee76b2b2f1d6db409df06de0ba74b (diff)
Add VA_INVALID_ID helper macro.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/va.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/va.h b/src/va.h
index 2c2cbe6..6856761 100644
--- a/src/va.h
+++ b/src/va.h
@@ -364,7 +364,8 @@ typedef VAGenericID VAContextID;
typedef VAGenericID VASurfaceID;
-#define VA_INVALID_SURFACE -1
+#define VA_INVALID_ID 0xffffffff
+#define VA_INVALID_SURFACE VA_INVALID_ID
/*
* vaCreateSurfaces - Create an array of surfaces used for decode and display