diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2011-07-12 18:09:26 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2011-07-12 18:09:26 -0400 |
commit | 8f6b55f92014f2f5221931f6672709d46d480f1d (patch) | |
tree | 4c2e288a31705f38d2d3e1acef6e91ca2e0728e4 /gst/tta | |
parent | b44cb0a048a37d3db231db2bbf1038bc902fa4df (diff) |
tta: Fix set-but-unused warnings
Diffstat (limited to 'gst/tta')
-rw-r--r-- | gst/tta/gstttadec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index 456527279..da7693f04 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)); |