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/decode | |
parent | 917650fefaa34b94a3784c2944c45b5d7131f229 (diff) |
vdpau: remove pointer indirection for a field
There's no reason to. This is basically a cosmetic change.
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/vdpau.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c index 46b6295030..e494fedd55 100644 --- a/video/decode/vdpau.c +++ b/video/decode/vdpau.c @@ -83,7 +83,7 @@ static int handle_preemption(struct lavc_ctx *ctx) } p->vdp_device = p->mpvdp->vdp_device; - p->vdp = p->mpvdp->vdp; + p->vdp = &p->mpvdp->vdp; return 0; } @@ -91,7 +91,7 @@ static int handle_preemption(struct lavc_ctx *ctx) static int init_decoder(struct lavc_ctx *ctx, int fmt, int w, int h) { struct priv *p = ctx->hwdec_priv; - struct vdp_functions *vdp = p->mpvdp->vdp; + struct vdp_functions *vdp = &p->mpvdp->vdp; VdpStatus vdp_st; if (handle_preemption(ctx) < 0) @@ -173,7 +173,7 @@ static int init(struct lavc_ctx *ctx) }; ctx->hwdec_priv = p; - p->vdp = p->mpvdp->vdp; + p->vdp = &p->mpvdp->vdp; p->context.render = p->vdp->decoder_render; p->preemption_counter = p->mpvdp->preemption_counter; |