From 9be93d6b60bebe6b43687d481957ed78ac25f4c8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 19 Mar 2014 19:57:08 +0100 Subject: vdpau: remove pointer indirection for a field There's no reason to. This is basically a cosmetic change. --- video/decode/vdpau.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'video/decode') 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; -- cgit v1.2.3