From 8f6b55f92014f2f5221931f6672709d46d480f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 12 Jul 2011 18:09:26 -0400 Subject: [PATCH] tta: Fix set-but-unused warnings --- gst/tta/gstttadec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index 4565272797..da7693f048 100644 --- a/gst/tta/gstttadec.c +++ b/gst/tta/gstttadec.c @@ -106,7 +106,6 @@ gst_tta_dec_setcaps (GstPad * pad, GstCaps * caps) GstTtaDec *ttadec = GST_TTA_DEC (gst_pad_get_parent (pad)); GstStructure *structure = gst_caps_get_structure (caps, 0); GstCaps *srccaps; - guint64 outsize; gint bits, channels; gint32 samplerate; @@ -136,8 +135,6 @@ gst_tta_dec_setcaps (GstPad * pad, GstCaps * caps) ttadec->tta = g_malloc (ttadec->channels * sizeof (decoder)); ttadec->cache = g_malloc (ttadec->channels * sizeof (long)); - outsize = ttadec->channels * ttadec->frame_length * ttadec->bytes; - ttadec->decdata = (guchar *) g_malloc (ttadec->channels * ttadec->frame_length * ttadec->bytes * sizeof (guchar));