From dd62fdc585902e59c375860c343480d71b6abc72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 13 Apr 2011 22:59:03 +0100 Subject: [PATCH] typefindfunctions: fix unused-but-set-variable warning with gcc 4.6 We don't compare the bitrates of consecutive mp3 frames on purpose here. https://bugzilla.gnome.org/show_bug.cgi?id=647294 --- gst/typefind/gsttypefindfunctions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 4a24910cf7..98dbade0f5 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -1018,7 +1018,7 @@ mp3_type_find_at_offset (GstTypeFind * tf, guint64 start_off, while (found < GST_MP3_TYPEFIND_TRY_HEADERS) { guint32 head; guint length; - guint prev_layer = 0, prev_bitrate = 0; + guint prev_layer = 0; guint prev_channels = 0, prev_samplerate = 0; gboolean free = FALSE; @@ -1065,7 +1065,6 @@ mp3_type_find_at_offset (GstTypeFind * tf, guint64 start_off, * be a freaking funky encoded mp3 though. We'll just not count * this header*/ prev_layer = layer; - prev_bitrate = bitrate; prev_channels = channels; prev_samplerate = samplerate; } else {