Use dl handle for libva's vaTerminate rather than actual function (#1955)
This commit is contained in:
parent
8efc15b58f
commit
d97f724e3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue