From 1ac328b553df550c25bd0000e190d4cdd7c54a08 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 9 Feb 2009 16:36:11 +0100 Subject: 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. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 4c052c45c..f0717b288 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v1.2.3