Commit 5cae7a6f authored by Austin Yuan's avatar Austin Yuan

Fix build issue

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@gmail.com>
parent e7420215
...@@ -192,7 +192,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name) ...@@ -192,7 +192,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
} }
search_path = strdup((const char *)search_path); search_path = strdup((const char *)search_path);
gdriver_dir = strtok_r((const char *)search_path, ":", &saveptr); driver_dir = strtok_r((const char *)search_path, ":", &saveptr);
while(driver_dir) while(driver_dir)
{ {
void *handle = NULL; void *handle = NULL;
......
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