summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/vdpau.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/vdpau.c b/video/vdpau.c
index b55152b146..4ff3d6905a 100644
--- a/video/vdpau.c
+++ b/video/vdpau.c
@@ -164,8 +164,7 @@ static int win_x11_init_vdpau_procs(struct mp_vdpau_ctx *ctx)
ctx->vdp = vdp;
ctx->get_proc_address = get_proc_address;
- vdp_st = vdp.preemption_callback_register(ctx->vdp_device,
- preemption_callback, ctx);
+ vdp.preemption_callback_register(ctx->vdp_device, preemption_callback, ctx);
return 0;
}