From 0108c576ab09ac33c5edaee78bcc468527e32da8 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 8 Jul 2009 07:53:08 +0000 Subject: Add VA_INVALID_ID helper macro. Signed-off-by: Austin Yuan --- src/va.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1