[0.11] gst-plugins-good: matroska-demux: don't leak audio codec_data buffer
Wim Taymans
wtay at kemper.freedesktop.org
Thu Oct 13 00:03:08 PDT 2011
Module: gst-plugins-good
Branch: 0.11
Commit: ad245a0dc28669d0b8e84dc8f433144a8f98f222
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=ad245a0dc28669d0b8e84dc8f433144a8f98f222
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Mon Oct 10 19:02:58 2011 +0100
matroska-demux: don't leak audio codec_data buffer
---
gst/matroska/matroska-demux.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 7a1a41c..eaa6dfd 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -5266,6 +5266,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
"framed", G_TYPE_BOOLEAN, TRUE, NULL);
gst_caps_set_simple (caps, "codec_data", GST_TYPE_BUFFER, priv, NULL);
*codec_name = g_strdup_printf ("MPEG-%d AAC audio", mpegversion);
+ gst_buffer_unref (priv);
}
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_AUDIO_TTA)) {
caps = gst_caps_new_simple ("audio/x-tta",
More information about the gstreamer-commits
mailing list