mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
tta: Fix set-but-unused warnings
This commit is contained in:
parent
b44cb0a048
commit
8f6b55f920
1 changed files with 0 additions and 3 deletions
|
@ -106,7 +106,6 @@ gst_tta_dec_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
GstTtaDec *ttadec = GST_TTA_DEC (gst_pad_get_parent (pad));
|
GstTtaDec *ttadec = GST_TTA_DEC (gst_pad_get_parent (pad));
|
||||||
GstStructure *structure = gst_caps_get_structure (caps, 0);
|
GstStructure *structure = gst_caps_get_structure (caps, 0);
|
||||||
GstCaps *srccaps;
|
GstCaps *srccaps;
|
||||||
guint64 outsize;
|
|
||||||
gint bits, channels;
|
gint bits, channels;
|
||||||
gint32 samplerate;
|
gint32 samplerate;
|
||||||
|
|
||||||
|
@ -136,8 +135,6 @@ gst_tta_dec_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
ttadec->tta = g_malloc (ttadec->channels * sizeof (decoder));
|
ttadec->tta = g_malloc (ttadec->channels * sizeof (decoder));
|
||||||
ttadec->cache = g_malloc (ttadec->channels * sizeof (long));
|
ttadec->cache = g_malloc (ttadec->channels * sizeof (long));
|
||||||
|
|
||||||
outsize = ttadec->channels * ttadec->frame_length * ttadec->bytes;
|
|
||||||
|
|
||||||
ttadec->decdata =
|
ttadec->decdata =
|
||||||
(guchar *) g_malloc (ttadec->channels * ttadec->frame_length *
|
(guchar *) g_malloc (ttadec->channels * ttadec->frame_length *
|
||||||
ttadec->bytes * sizeof (guchar));
|
ttadec->bytes * sizeof (guchar));
|
||||||
|
|
Loading…
Reference in a new issue