Define VA_INVALID_SURFACE
authorroot <root@localhost.localdomain>
Tue, 3 Jul 2007 21:34:36 +0000 (14:34 -0700)
committerroot <root@localhost.localdomain>
Tue, 3 Jul 2007 21:34:36 +0000 (14:34 -0700)
src/va.h

index 71b0981..4cd1139 100755 (executable)
--- a/src/va.h
+++ b/src/va.h
@@ -259,6 +259,8 @@ typedef int VAContextID;
 /* generic surface ID type, can be re-typed for specific implementation */
 typedef int VASurfaceID;
 
+#define VA_INVALID_SURFACE     -1
+
 typedef struct _VAContext
 {
     VAContextID                context_id; /* to identify this context */