buffer: don't cast the pointer anymore

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-04-20 10:33:39 +02:00
parent f638dcce4c
commit 056d24d20f
+1 -1
View File
@@ -166,7 +166,7 @@ void sunxi_cedrus_destroy_buffer(struct sunxi_cedrus_driver_data *driver_data,
obj_buffer->buffer_data = NULL;
}
object_heap_free(&driver_data->buffer_heap, (object_base_p) obj_buffer);
object_heap_free(&driver_data->buffer_heap, obj_buffer);
}
VAStatus sunxi_cedrus_DestroyBuffer(VADriverContextP ctx, VABufferID buffer_id)