diff options
author | Max Kellermann <max@duempel.org> | 2008-10-29 17:29:06 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-29 17:29:06 +0100 |
commit | 528b7c3f5e7afc155058eeba631aa93ba9f42b0c (patch) | |
tree | e7874d0c9df831872431862f60150b9566e6a696 /src/decoder_api.h | |
parent | 74c85811afe85d7cd3024156b204a5d68f94df86 (diff) | |
download | mpd-528b7c3f5e7afc155058eeba631aa93ba9f42b0c.tar.gz mpd-528b7c3f5e7afc155058eeba631aa93ba9f42b0c.tar.xz mpd-528b7c3f5e7afc155058eeba631aa93ba9f42b0c.zip |
decoder: automatically flush the output buffer after decoder exits
A decoder_flush() invocation was missing in the FLAC plugin, resulting
in casual assertion failures due to a wrong assumption about the last
chunk's audio format. It's much easier to remove that decoder_flush()
function and make the decoder thread call ob_flush().
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r-- | src/decoder_api.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h index 5b034c1e9..fbd259859 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -159,6 +159,4 @@ decoder_data(struct decoder *decoder, void *data, size_t datalen, float data_time, uint16_t bitRate, ReplayGainInfo * replayGainInfo); -void decoder_flush(struct decoder *decoder); - #endif |