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:
parent
bbbda7f812
commit
24fa3f5e7b
@ -406,7 +406,7 @@ decoder_run_song(DecoderControl &dc,
|
||||
|
||||
/* flush the last chunk */
|
||||
|
||||
if (success && decoder.chunk != nullptr)
|
||||
if (decoder.chunk != nullptr)
|
||||
decoder.FlushChunk();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user