Skip to content

Commit

Permalink
Use dl handle for libva's vaTerminate rather than actual function (#1955
Browse files Browse the repository at this point in the history
)
  • Loading branch information
chewi authored Dec 31, 2023
1 parent 8efc15b commit d97f724
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 d97f724

Please sign in to comment.