diff options
Diffstat (limited to 'video/decode/vdpau_old.c')
-rw-r--r-- | video/decode/vdpau_old.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/vdpau_old.c b/video/decode/vdpau_old.c index 1ef6c7857a..caca5df1a5 100644 --- a/video/decode/vdpau_old.c +++ b/video/decode/vdpau_old.c @@ -130,8 +130,8 @@ static void draw_slice_hwdec(struct AVCodecContext *s, const AVFrame *src, int offset[4], int y, int type, int height) { - sh_video_t *sh = s->opaque; - struct lavc_ctx *ctx = sh->context; + struct dec_video *vd = s->opaque; + struct lavc_ctx *ctx = vd->priv; struct priv *p = ctx->hwdec_priv; struct vdp_functions *vdp = p->vdp; VdpStatus vdp_st; |