mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 06:01:04 +00:00
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
This commit is contained in:
parent
49cc1718a8
commit
dd62fdc585
1 changed files with 1 additions and 2 deletions
|
@ -1018,7 +1018,7 @@ mp3_type_find_at_offset (GstTypeFind * tf, guint64 start_off,
|
||||||
while (found < GST_MP3_TYPEFIND_TRY_HEADERS) {
|
while (found < GST_MP3_TYPEFIND_TRY_HEADERS) {
|
||||||
guint32 head;
|
guint32 head;
|
||||||
guint length;
|
guint length;
|
||||||
guint prev_layer = 0, prev_bitrate = 0;
|
guint prev_layer = 0;
|
||||||
guint prev_channels = 0, prev_samplerate = 0;
|
guint prev_channels = 0, prev_samplerate = 0;
|
||||||
gboolean free = FALSE;
|
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
|
* be a freaking funky encoded mp3 though. We'll just not count
|
||||||
* this header*/
|
* this header*/
|
||||||
prev_layer = layer;
|
prev_layer = layer;
|
||||||
prev_bitrate = bitrate;
|
|
||||||
prev_channels = channels;
|
prev_channels = channels;
|
||||||
prev_samplerate = samplerate;
|
prev_samplerate = samplerate;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue