summaryrefslogtreecommitdiff
path: root/gst/aiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-15 00:09:14 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-04-15 00:24:47 +0100
commit5d6bdf605207dcd31c830fc213f71161cd2f6f5c (patch)
tree5f9a7eaa6fbb0946acaadafaefae6ab53586338c /gst/aiff
parentfb0222ea67322a4e743593a3ed6741571d5aede7 (diff)
downloadgstreamer-plugins-bad-5d6bdf605207dcd31c830fc213f71161cd2f6f5c.tar.gz
Fix some unused-but-set-variable warnings with gcc 4.6
Diffstat (limited to 'gst/aiff')
-rw-r--r--gst/aiff/aiffparse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c
index 2610ced40..a286dceec 100644
--- a/gst/aiff/aiffparse.c
+++ b/gst/aiff/aiffparse.c
@@ -840,7 +840,6 @@ gst_aiff_parse_stream_headers (GstAiffParse * aiff)
break;
}
case GST_MAKE_FOURCC ('S', 'S', 'N', 'D'):{
- GstFormat fmt;
GstBuffer *ssndbuf = NULL;
const guint8 *ssnddata = NULL;
guint32 datasize;
@@ -876,7 +875,6 @@ gst_aiff_parse_stream_headers (GstAiffParse * aiff)
aiff->datastart = aiff->offset + aiff->ssnd_offset;
/* file might be truncated */
- fmt = GST_FORMAT_BYTES;
if (upstream_size) {
size = MIN (datasize, (upstream_size - aiff->datastart));
}