From effa7b46609746987c221e45f8810f190d6ab41d Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Tue, 4 Aug 2009 11:35:18 +0200 Subject: [PATCH] avidemux: prevent double unref; gst_avi_demux_parse_avih already unrefs --- gst/avi/gstavidemux.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index c52ff79500..71a1fa20e8 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -3438,8 +3438,6 @@ invalid_avih: { GST_ELEMENT_ERROR (avi, STREAM, DEMUX, (NULL), ("Invalid AVI header (cannot parse avih at start)")); - if (sub) - gst_buffer_unref (sub); gst_buffer_unref (buf); return GST_FLOW_ERROR; }