diff options
author | wm4 <wm4@nowhere> | 2015-03-23 18:09:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-23 18:09:40 +0100 |
commit | 180e35a175473c272c1dddf03b9b21e3f6d70119 (patch) | |
tree | fc1d9dcb7d0228986ad777759489c79641bf4e76 | |
parent | b5e67ca178fdd765ac74a4895b79d7c015876405 (diff) | |
download | mpv-180e35a175473c272c1dddf03b9b21e3f6d70119.tar.bz2 mpv-180e35a175473c272c1dddf03b9b21e3f6d70119.tar.xz |
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.
-rw-r--r-- | video/vdpau.c | 3 |
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; } |