Commit 1dece20a authored by Thomas Guillem's avatar Thomas Guillem

hw: vaapi: fix VANativeDisplay cast

parent 3fb8103c
......@@ -153,7 +153,7 @@ vlc_vaapi_InitializeInstanceDRM(vlc_object_t *o,
{
struct vlc_vaapi_instance *va_inst =
vlc_vaapi_InitializeInstance(o, dpy,
(VANativeDisplay *)(intptr_t)drm_fd,
(VANativeDisplay)(intptr_t)drm_fd,
native_drm_destroy_cb);
if (va_inst)
{
......
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