mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 14:52:43 +00:00
vdpau: remove dead assignment
I guess we don't really care whether this particular function succeeds. If it fails, it must be completely broken anyway and it would not matter much to us.
This commit is contained in:
parent
b5e67ca178
commit
180e35a175
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user