aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-23 13:54:07 +0200
committerMax Kellermann <max@duempel.org>2014-08-23 13:54:07 +0200
commitcd0082c630bde38ef975da6ef463c8869c27df3b (patch)
tree50201130245742fdc3d7bae9098849c39d31fe07 /src/decoder
parentf78527d1e38bd9aedcfde4c32757b597d2004b62 (diff)
downloadmpd-cd0082c630bde38ef975da6ef463c8869c27df3b.tar.gz
mpd-cd0082c630bde38ef975da6ef463c8869c27df3b.tar.xz
mpd-cd0082c630bde38ef975da6ef463c8869c27df3b.zip
decoder/dsf: eliminate pointless return statement
Diffstat (limited to '')
-rw-r--r--src/decoder/plugins/DsfDecoderPlugin.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/decoder/plugins/DsfDecoderPlugin.cxx b/src/decoder/plugins/DsfDecoderPlugin.cxx
index 0f0739e37..c0b0871cf 100644
--- a/src/decoder/plugins/DsfDecoderPlugin.cxx
+++ b/src/decoder/plugins/DsfDecoderPlugin.cxx
@@ -313,11 +313,10 @@ dsf_stream_decode(Decoder &decoder, InputStream &is)
/* success: file was recognized */
decoder_initialized(decoder, audio_format, false, songtime);
- if (!dsf_decode_chunk(decoder, is, metadata.channels,
- metadata.sample_rate,
- n_blocks,
- metadata.bitreverse))
- return;
+ dsf_decode_chunk(decoder, is, metadata.channels,
+ metadata.sample_rate,
+ n_blocks,
+ metadata.bitreverse);
}
static bool