mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-30 03:32:43 +00:00
Use dl handle for libva's vaTerminate rather than actual function (#1955)
This commit is contained in:
parent
8efc15b58f
commit
d97f724e3b
@ -520,7 +520,7 @@ namespace va {
|
||||
auto hwctx = (AVVAAPIDeviceContext *) ctx->hwctx;
|
||||
auto priv = (VAAPIDevicePriv *) ctx->user_opaque;
|
||||
|
||||
vaTerminate(hwctx->display);
|
||||
terminate(hwctx->display);
|
||||
close(priv->drm_fd);
|
||||
av_freep(&priv);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user