aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_thread.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <e.giaquinta@glauco.it>2008-12-17 15:50:23 +0100
committerMax Kellermann <max@duempel.org>2008-12-17 15:56:43 +0100
commit25c04a97d3bab513134d78153a0fb0c3ac0fd553 (patch)
tree30e432d3ef3c4586f0072b469f9bf2a071bbe9f3 /src/output_thread.c
parentc584d6b087031db1afe28a0f6444aad7cd1a6d24 (diff)
downloadmpd-25c04a97d3bab513134d78153a0fb0c3ac0fd553.tar.gz
mpd-25c04a97d3bab513134d78153a0fb0c3ac0fd553.tar.xz
mpd-25c04a97d3bab513134d78153a0fb0c3ac0fd553.zip
Remove useless computation. After the pthread_cond_wait loop there are at least MIN(od->bufferSize, size) free bytes in the buffer. Thus MIN(od->bufferSize - od->len, size) is always equal to MIN(od->bufferSize, size).
Diffstat (limited to 'src/output_thread.c')
0 files changed, 0 insertions, 0 deletions