From aaea53c2c02e4d5352ce3d08dfd43b2676d32000 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 25 Nov 2016 17:55:52 +0000 Subject: [PATCH] st/va: fix misplaced closing bracket MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit It's been like this since the code was introduced. Fixes: 86eb4131a90 (st/va: add headless support, i.e. VA_DISPLAY_DRM) Cc: Cc: Julien Isorce Signed-off-by: Emil Velikov Reviewed-by: Nayan Deshmukh Reviewed-by: Christian König --- src/gallium/state_trackers/va/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/context.c b/src/gallium/state_trackers/va/context.c index a44634c4428..44d25aed8dc 100644 --- a/src/gallium/state_trackers/va/context.c +++ b/src/gallium/state_trackers/va/context.c @@ -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; -- 2.30.2