aboutsummaryrefslogtreecommitdiffstats
path: root/src/audiofile_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/audiofile_decode.c')
-rw-r--r--src/audiofile_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audiofile_decode.c b/src/audiofile_decode.c
index 717237227..19f4623d1 100644
--- a/src/audiofile_decode.c
+++ b/src/audiofile_decode.c
@@ -115,7 +115,7 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
++cb->end;
- if(cb->end>=BUFFERED_CHUNKS) {
+ if(cb->end>=buffered_chunks) {
cb->end = 0;
cb->wrap = 1;
}