mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
tsdemux: Don't leak pad name and template for Opus
It's set again (the same way) further below, overwriting the previously allocated memory without freeing. https://bugzilla.gnome.org/show_bug.cgi?id=777533
This commit is contained in:
parent
08723e68df
commit
636cb4ce32
1 changed files with 0 additions and 3 deletions
|
@ -1366,9 +1366,6 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream,
|
|||
|
||||
if (channels != -1) {
|
||||
is_audio = TRUE;
|
||||
template = gst_static_pad_template_get (&audio_template);
|
||||
name = g_strdup_printf ("audio_%04x", bstream->pid);
|
||||
|
||||
caps =
|
||||
gst_codec_utils_opus_create_caps (48000, channels,
|
||||
mapping_family, stream_count, coupled_count,
|
||||
|
|
Loading…
Reference in a new issue