aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-09 16:36:11 +0100
committerMax Kellermann <max@duempel.org>2009-02-09 16:36:11 +0100
commite5da9e459dc407283daeb0bd483f4d9d12d72de4 (patch)
treec5b9b0dc97d54ae0f2138d120ce04336b6a1a953 /README
parentce2f1ba881bf83844b2fc7c2666f2e6741df58cc (diff)
downloadmpd-e5da9e459dc407283daeb0bd483f4d9d12d72de4.tar.gz
mpd-e5da9e459dc407283daeb0bd483f4d9d12d72de4.tar.xz
mpd-e5da9e459dc407283daeb0bd483f4d9d12d72de4.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 'README')
0 files changed, 0 insertions, 0 deletions