Skip to content

Commit

Permalink
Use dl handle for libva's vaTerminate rather than actual function (Li…
Browse files Browse the repository at this point in the history
  • Loading branch information
chewi authored and KuleRucket committed Jun 6, 2024
1 parent f195fe0 commit 3153784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/linux/vaapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 3153784

Please sign in to comment.