aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-25 10:31:55 +0200
committerMax Kellermann <max@duempel.org>2014-08-25 10:31:55 +0200
commit40b9de66c76b256fb0ac7e5950a91371bd61c83b (patch)
tree05a5bb45a98c3df03cd3c262ff7aadd5b5a12a80 /src/decoder/plugins
parentaac985951a23582b5e54cbf48116f27bd35758ef (diff)
downloadmpd-40b9de66c76b256fb0ac7e5950a91371bd61c83b.tar.gz
mpd-40b9de66c76b256fb0ac7e5950a91371bd61c83b.tar.xz
mpd-40b9de66c76b256fb0ac7e5950a91371bd61c83b.zip
decoder/mad: remove unused flag "found_xing"
Diffstat (limited to 'src/decoder/plugins')
-rw-r--r--src/decoder/plugins/MadDecoderPlugin.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx
index 86664422c..e36a28a19 100644
--- a/src/decoder/plugins/MadDecoderPlugin.cxx
+++ b/src/decoder/plugins/MadDecoderPlugin.cxx
@@ -129,7 +129,6 @@ struct MadDecoder {
unsigned int drop_start_samples;
unsigned int drop_end_samples;
bool found_replay_gain;
- bool found_xing;
bool found_first_frame;
bool decoded_first_frame;
unsigned long bit_rate;
@@ -186,7 +185,7 @@ MadDecoder::MadDecoder(Decoder *_decoder,
highest_frame(0), max_frames(0), current_frame(0),
drop_start_frames(0), drop_end_frames(0),
drop_start_samples(0), drop_end_samples(0),
- found_replay_gain(false), found_xing(false),
+ found_replay_gain(false),
found_first_frame(false), decoded_first_frame(false),
decoder(_decoder), input_stream(_input_stream),
layer(mad_layer(0))
@@ -789,7 +788,6 @@ MadDecoder::DecodeFirstFrame(Tag **tag)
* if an xing tag exists, use that!
*/
if (parse_xing(&xing, &ptr, &bitlen)) {
- found_xing = true;
mute_frame = MUTEFRAME_SKIP;
if ((xing.flags & XING_FRAMES) && xing.frames) {