diff options
author | Max Kellermann <max@duempel.org> | 2009-03-12 19:49:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-12 19:49:10 +0100 |
commit | e3b9b57ecdf8c1396d120f1ccee0814a3e119511 (patch) | |
tree | 3c2dfbaf635964f8189e0953ae772fa85c3c857a /src/listen.h | |
parent | d8218cae6b6742c56d0f570d5c8a27f1d8a17290 (diff) | |
download | mpd-e3b9b57ecdf8c1396d120f1ccee0814a3e119511.tar.gz mpd-e3b9b57ecdf8c1396d120f1ccee0814a3e119511.tar.xz mpd-e3b9b57ecdf8c1396d120f1ccee0814a3e119511.zip |
output_all: fix off-by-one error in audio_output_all_check()
When there are chunks which are not yet finished,
audio_output_all_check() returned the size of its music pipe minus
one. I can't remember exactly why I subtracted 1 from the return
value, it must have had something to do with a former meaning of this
function. Now it induces assertion failures.
Diffstat (limited to 'src/listen.h')
0 files changed, 0 insertions, 0 deletions