aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mp3_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c
index 086e3be13..6681c8469 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -374,7 +374,7 @@ int mp3ChildSendData(mp3DecodeData * data, Buffer * cb, DecoderControl * dc) {
cb->times[cb->end] = data->elapsedTime;
cb->end++;
- if(cb->end>=BUFFERED_CHUNKS) {
+ if(cb->end>=buffered_chunks) {
cb->end = 0;
cb->wrap = 1;
}