diff options
author | wm4 <wm4@nowhere> | 2014-03-19 19:57:08 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-19 19:57:08 +0100 |
commit | 9be93d6b60bebe6b43687d481957ed78ac25f4c8 (patch) | |
tree | bd131d3415b3121d0c62c3a7b514355574c0e0ad /video/out/gl_hwdec_vdpau.c | |
parent | 917650fefaa34b94a3784c2944c45b5d7131f229 (diff) | |
download | mpv-9be93d6b60bebe6b43687d481957ed78ac25f4c8.tar.bz2 mpv-9be93d6b60bebe6b43687d481957ed78ac25f4c8.tar.xz |
vdpau: remove pointer indirection for a field
There's no reason to. This is basically a cosmetic change.
Diffstat (limited to 'video/out/gl_hwdec_vdpau.c')
-rw-r--r-- | video/out/gl_hwdec_vdpau.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/gl_hwdec_vdpau.c b/video/out/gl_hwdec_vdpau.c index 07e406d9ba..d5d3b30b52 100644 --- a/video/out/gl_hwdec_vdpau.c +++ b/video/out/gl_hwdec_vdpau.c @@ -75,7 +75,7 @@ static void destroy_objects(struct gl_hwdec *hw) { struct priv *p = hw->priv; GL *gl = hw->mpgl->gl; - struct vdp_functions *vdp = p->ctx->vdp; + struct vdp_functions *vdp = &p->ctx->vdp; VdpStatus vdp_st; if (p->vdpgl_surface) @@ -142,7 +142,7 @@ static int reinit(struct gl_hwdec *hw, const struct mp_image_params *params) { struct priv *p = hw->priv; GL *gl = hw->mpgl->gl; - struct vdp_functions *vdp = p->ctx->vdp; + struct vdp_functions *vdp = &p->ctx->vdp; VdpStatus vdp_st; destroy_objects(hw); @@ -215,7 +215,7 @@ static int map_image(struct gl_hwdec *hw, struct mp_image *hw_image, { struct priv *p = hw->priv; GL *gl = hw->mpgl->gl; - struct vdp_functions *vdp = p->ctx->vdp; + struct vdp_functions *vdp = &p->ctx->vdp; VdpStatus vdp_st; assert(hw_image && hw_image->imgfmt == IMGFMT_VDPAU); |