diff options
author | Max Kellermann <max@duempel.org> | 2014-08-23 13:54:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-08-23 13:54:07 +0200 |
commit | cd0082c630bde38ef975da6ef463c8869c27df3b (patch) | |
tree | 50201130245742fdc3d7bae9098849c39d31fe07 /src/decoder/plugins/DsfDecoderPlugin.cxx | |
parent | f78527d1e38bd9aedcfde4c32757b597d2004b62 (diff) | |
download | mpd-cd0082c630bde38ef975da6ef463c8869c27df3b.tar.gz mpd-cd0082c630bde38ef975da6ef463c8869c27df3b.tar.xz mpd-cd0082c630bde38ef975da6ef463c8869c27df3b.zip |
decoder/dsf: eliminate pointless return statement
Diffstat (limited to 'src/decoder/plugins/DsfDecoderPlugin.cxx')
-rw-r--r-- | src/decoder/plugins/DsfDecoderPlugin.cxx | 9 |
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 |