From: Sameer Kibey <sameer.ki...@intel.com> Remove the check for file access in the wrapper. Otherwise this call will fail on Chrome OS with sandboxing enabled.
Signed-off-by: Sameer Kibey <sameer.ki...@intel.com> Signed-off-by: Sean V Kelley <sea...@posteo.de> --- src/i965_drv_video.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 00860f8..a2a39f7 100644 --- a/src/i965_drv_video.c +++ b/src/i965_drv_video.c @@ -6227,11 +6227,6 @@ i965_initialize_wrapper(VADriverContextP ctx, const char *driver_name) memset(driver_path, 0, sizeof(driver_path)); sprintf(driver_path, "%s/%s%s", driver_dir, driver_name, DRIVER_EXTENSION); - if (access(driver_path, F_OK)) { - driver_dir = strtok_r(NULL, ":", &saveptr); - continue; - } - handle = dlopen(driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE); if (!handle) { fprintf(stderr, "failed to open %s\n", driver_path); -- 1.8.4.2 _______________________________________________ Libva mailing list Libva@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libva