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:
wm4 2015-03-23 18:09:40 +01:00
parent b5e67ca178
commit 180e35a175
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}