voaacenc: plug caps leak

This commit is contained in:
Mark Nauwelaerts 2012-04-10 17:22:57 +02:00
parent 6cb77d0c7f
commit 06ac28eb81

View file

@ -243,7 +243,7 @@ static const GstAudioChannelPosition
static gpointer static gpointer
gst_voaacenc_generate_sink_caps (gpointer data) gst_voaacenc_generate_sink_caps (gpointer data)
{ {
GstCaps *caps = gst_caps_new_empty (); GstCaps *caps;
gint i, c; gint i, c;
static const int rates[] = { static const int rates[] = {
8000, 11025, 12000, 16000, 22050, 24000, 8000, 11025, 12000, 16000, 22050, 24000,