From e5da9e459dc407283daeb0bd483f4d9d12d72de4 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 2a4582528..782fdfa4b 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,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