Use dl handle for libva's vaTerminate rather than actual function (#1955)

This commit is contained in:
James Le Cuirot authored and GitHub committed 2023-12-31 15:10:48 -05:00
1 parent 8efc15b58f
commit d97f724e3b
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}