diff options
author | Max Kellermann <max@duempel.org> | 2009-02-09 16:36:11 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-09 16:38:25 +0100 |
commit | 1ac328b553df550c25bd0000e190d4cdd7c54a08 (patch) | |
tree | f18f9adf6240005f4536888311132340256751aa /NEWS | |
parent | 7fc25ad567a0b8b4f7c05832adc17e9fdcc2cefb (diff) | |
download | mpd-1ac328b553df550c25bd0000e190d4cdd7c54a08.tar.gz mpd-1ac328b553df550c25bd0000e190d4cdd7c54a08.tar.xz mpd-1ac328b553df550c25bd0000e190d4cdd7c54a08.zip |
shout: clear buffer before calling the encoder
Always assume the buffer is empty before calling the encoder. Always
flush the buffer immediately after there has been added something.
This reduces the risk of buffer overruns, because there will never be
a "rest" in the current buffer.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ ver 0.14.2 (2009/??/??) - shout: switch to blocking mode - shout: use libshout's synchronization - shout: don't postpone metadata + - shout: clear buffer before calling the encoder * mapper: remove trailing slashes from music_directory * player: set player error when output device fails |