summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-04-10 17:22:57 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2012-04-10 17:29:12 +0200
commit06ac28eb81a6c6586ffa57f4f72994902d5be559 (patch)
treefdc58261f3ff1c472e0049d96d2fb29e7f2c1371
parent6cb77d0c7f21520287fb777fae44f76ce06db372 (diff)
voaacenc: plug caps leak
-rw-r--r--ext/voaacenc/gstvoaacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/voaacenc/gstvoaacenc.c b/ext/voaacenc/gstvoaacenc.c
index 8ae31a0fe..958de83cc 100644
--- a/ext/voaacenc/gstvoaacenc.c
+++ b/ext/voaacenc/gstvoaacenc.c
@@ -243,7 +243,7 @@ static const GstAudioChannelPosition
static gpointer
gst_voaacenc_generate_sink_caps (gpointer data)
{
- GstCaps *caps = gst_caps_new_empty ();
+ GstCaps *caps;
gint i, c;
static const int rates[] = {
8000, 11025, 12000, 16000, 22050, 24000,