Commit 24fa3f5e authored by Max Kellermann's avatar Max Kellermann

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

This reverts commit 995cd954. It was a bad idea because it caused assertion failures when a decoder plugin aborted with an exception.
parent bbbda7f8
......@@ -406,7 +406,7 @@ decoder_run_song(DecoderControl &dc,
/* flush the last chunk */
if (success && decoder.chunk != nullptr)
if (decoder.chunk != nullptr)
decoder.FlushChunk();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment