aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output/osx_plugin.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index a00fbdbdd..7af8be3a2 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -330,8 +330,6 @@ osx_play(void *data, const char *playChunk, size_t size)
pthread_cond_wait(&od->condition, &od->mutex);
}
- bytesToCopy = od->bufferSize - od->len;
- bytesToCopy = bytesToCopy < size ? bytesToCopy : size;
size -= bytesToCopy;
od->len += bytesToCopy;