mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
aacparse: fix codec_data buffer leak
https://bugzilla.gnome.org/show_bug.cgi?id=740101
This commit is contained in:
parent
5e4f215bfb
commit
7fe18db041
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ gst_aac_parse_set_src_caps (GstAacParse * aacparse, GstCaps * sink_caps)
|
|||
gst_buffer_fill (codec_data_buffer, 0, codec_data, 2);
|
||||
gst_caps_set_simple (src_caps, "codec_data", GST_TYPE_BUFFER,
|
||||
codec_data_buffer, NULL);
|
||||
gst_buffer_unref (codec_data_buffer);
|
||||
}
|
||||
} else if (aacparse->header_type == DSPAAC_HEADER_NONE) {
|
||||
GST_DEBUG_OBJECT (GST_BASE_PARSE (aacparse)->srcpad,
|
||||
|
|
Loading…
Reference in a new issue