Commit db6f938e authored by Thomas Guillem's avatar Thomas Guillem

gl: vaapi: fix double close

drm_fd is already closed from tc_vaegl_init in case of error.
parent 640dcf42
......@@ -434,6 +434,7 @@ opengl_tex_converter_vaapi_init(opengl_tex_converter_t *tc)
if (ret == VLC_SUCCESS)
return ret;
}
else
vlc_close(drm_fd);
}
/* Fallback to X11 or WAYLAND */
......
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