summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]src/i965_drv_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c
index f9a1e84..a9d6700 100755..100644
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -1950,6 +1950,7 @@ i965_create_buffer_internal(VADriverContextP ctx,
obj_buffer->num_elements = num_elements;
obj_buffer->size_element = size;
obj_buffer->type = type;
+ obj_buffer->export_refcount = 0;
obj_buffer->buffer_store = NULL;
buffer_store = calloc(1, sizeof(struct buffer_store));
assert(buffer_store);