hardware/intel/libva
Revision | 0108c576ab09ac33c5edaee78bcc468527e32da8 (tree) |
---|---|
Time | 2009-07-08 18:42:05 |
Author | Gwenole Beauchesne <gbeauchesne@spli...> |
Commiter | Austin Yuan |
Add VA_INVALID_ID helper macro.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -364,7 +364,8 @@ typedef VAGenericID VAContextID; | ||
364 | 364 | |
365 | 365 | typedef VAGenericID VASurfaceID; |
366 | 366 | |
367 | -#define VA_INVALID_SURFACE -1 | |
367 | +#define VA_INVALID_ID 0xffffffff | |
368 | +#define VA_INVALID_SURFACE VA_INVALID_ID | |
368 | 369 | |
369 | 370 | /* |
370 | 371 | * vaCreateSurfaces - Create an array of surfaces used for decode and display |