Revert "decoder/Thread: flush last chunk only on success"

This reverts commit 995cd95474.  It was
a bad idea because it caused assertion failures when a decoder plugin
aborted with an exception.
This commit is contained in:
Max Kellermann 2016-05-14 12:29:53 +02:00
parent bbbda7f812
commit 24fa3f5e7b

View File

@ -406,7 +406,7 @@ decoder_run_song(DecoderControl &dc,
/* flush the last chunk */
if (success && decoder.chunk != nullptr)
if (decoder.chunk != nullptr)
decoder.FlushChunk();
}