From 4b71083ccf3412a7e0aa435d9fb9e3efe741da27 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Thu, 4 Feb 2016 21:47:55 +0000 Subject: [PATCH] libva driver: minor bugfix git-svn-id: svn://kolibrios.org@6139 a494cfbc-eb01-0410-851d-a64ba20cac60 --- .../sdk/sources/vaapi/intel-driver-1.4.1/src/i965_drv_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/sdk/sources/vaapi/intel-driver-1.4.1/src/i965_drv_video.c b/contrib/sdk/sources/vaapi/intel-driver-1.4.1/src/i965_drv_video.c index 91422ad008..551d56d055 100644 --- a/contrib/sdk/sources/vaapi/intel-driver-1.4.1/src/i965_drv_video.c +++ b/contrib/sdk/sources/vaapi/intel-driver-1.4.1/src/i965_drv_video.c @@ -5177,7 +5177,7 @@ i965_acquire_buffer_handle(struct object_buffer *obj_buffer, break; } case VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME: { - int fd; + int fd = -1; // if (drm_intel_bo_gem_export_to_prime(buffer_store->bo, &fd) != 0) // return VA_STATUS_ERROR_INVALID_BUFFER; buf_info->handle = (intptr_t)fd;