summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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