tree: Change the macros to take the actual arguments they are using

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-07-13 16:00:08 +02:00
parent 18331ff41d
commit fd263773cc
9 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ VAStatus SunxiCedrusDeriveImage(VADriverContextP context,
VAImageFormat format;
VAStatus status;
surface_object = SURFACE(surface_id);
surface_object = SURFACE(driver_data, surface_id);
if (surface_object == NULL)
return VA_STATUS_ERROR_INVALID_SURFACE;