summaryrefslogtreecommitdiffstats
path: root/video/decode/vdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/vdpau.c')
-rw-r--r--video/decode/vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vdpau.c b/video/decode/vdpau.c
index a86f5d1edf..93a1e6d9a3 100644
--- a/video/decode/vdpau.c
+++ b/video/decode/vdpau.c
@@ -86,7 +86,7 @@ static void uninit(struct lavc_ctx *ctx)
XCloseDisplay(p->display);
}
- talloc_free(p);
+ TA_FREEP(&ctx->hwdec_priv);
if (ctx->avctx)
av_freep(&ctx->avctx->hwaccel_context);