mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
avidemux: prevent double unref; gst_avi_demux_parse_avih already unrefs
This commit is contained in:
parent
42bc085d95
commit
effa7b4660
1 changed files with 0 additions and 2 deletions
|
@ -3438,8 +3438,6 @@ invalid_avih:
|
||||||
{
|
{
|
||||||
GST_ELEMENT_ERROR (avi, STREAM, DEMUX, (NULL),
|
GST_ELEMENT_ERROR (avi, STREAM, DEMUX, (NULL),
|
||||||
("Invalid AVI header (cannot parse avih at start)"));
|
("Invalid AVI header (cannot parse avih at start)"));
|
||||||
if (sub)
|
|
||||||
gst_buffer_unref (sub);
|
|
||||||
gst_buffer_unref (buf);
|
gst_buffer_unref (buf);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue