From 624c50bac6a935f774080af2faf4d005124721e7 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Wed, 1 Sep 2010 17:45:19 +0200 Subject: [PATCH] vdpau: fix invalid unref --- sys/vdpau/gstvdp/gstvdpdecoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vdpau/gstvdp/gstvdpdecoder.c b/sys/vdpau/gstvdp/gstvdpdecoder.c index 5e14fac..5c7a66c 100644 --- a/sys/vdpau/gstvdp/gstvdpdecoder.c +++ b/sys/vdpau/gstvdp/gstvdpdecoder.c @@ -132,7 +132,7 @@ decode_error: ("Error returned from vdpau was: %s", device->vdp_get_error_string (status))); - gst_buffer_unref (GST_BUFFER_CAST (video_buf)); + gst_buffer_unref (GST_BUFFER_CAST (*video_buf)); return GST_FLOW_ERROR; } -- 2.7.4