mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
a52dec: plug buffer leak
This commit is contained in:
parent
9d139c30b7
commit
8cd2408f09
1 changed files with 1 additions and 1 deletions
|
@ -745,10 +745,10 @@ gst_a52dec_chain (GstPad * pad, GstObject * parent, GstBuffer * buf)
|
|||
gst_buffer_copy_region (buf, GST_BUFFER_COPY_ALL, offset,
|
||||
size - offset);
|
||||
GST_BUFFER_TIMESTAMP (subbuf) = GST_BUFFER_TIMESTAMP (buf);
|
||||
gst_buffer_unref (buf);
|
||||
ret = a52dec->base_chain (pad, parent, subbuf);
|
||||
}
|
||||
} else {
|
||||
gst_buffer_ref (buf);
|
||||
ret = a52dec->base_chain (pad, parent, buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue