Commit aaea53c2 authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

st/va: fix misplaced closing bracket

It's been like this since the code was introduced.

Fixes: 86eb4131 (st/va: add headless support, i.e. VA_DISPLAY_DRM)
Cc: <mesa-stable@lists.freedesktop.org>
Cc: Julien Isorce <julien.isorce@gmail.com>
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarNayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König's avatarChristian König <christian.koenig@amd.com>
parent c34a0088
......@@ -136,8 +136,8 @@ VA_DRIVER_INIT_FUNC(VADriverContextP ctx)
drv->vscreen = vl_drm_screen_create(drm_info->fd);
if (!drv->vscreen)
goto error_screen;
}
break;
}
default:
FREE(drv);
return VA_STATUS_ERROR_INVALID_DISPLAY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment