tree: add the driver_data parameter to the BUFFER macro as well
The BUFFER macro takes an implicit driver_data argument. In order to make it obvious that we need it, let's put it as an explicit parameter. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
+1
-1
@@ -197,7 +197,7 @@ VAStatus SunxiCedrusRenderPicture(VADriverContextP context,
|
||||
return VA_STATUS_ERROR_INVALID_SURFACE;
|
||||
|
||||
for (i = 0; i < buffers_count; i++) {
|
||||
buffer_object = BUFFER(buffers_ids[i]);
|
||||
buffer_object = BUFFER(driver_data, buffers_ids[i]);
|
||||
if (buffer_object == NULL)
|
||||
return VA_STATUS_ERROR_INVALID_BUFFER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user