aboutsummaryrefslogtreecommitdiffstats
path: root/src/audiofile_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-02-25 21:10:56 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-02-25 21:10:56 +0000
commit8edc416344afe51e3509d09e11a37c91517e0f6a (patch)
tree87917c82caffb575dad24880bbd00d71ec8fa99a /src/audiofile_decode.c
parente1c839cd5679f9b60f6b5e2bfd3a341b64463456 (diff)
downloadmpd-8edc416344afe51e3509d09e11a37c91517e0f6a.tar.gz
mpd-8edc416344afe51e3509d09e11a37c91517e0f6a.tar.xz
mpd-8edc416344afe51e3509d09e11a37c91517e0f6a.zip
some more cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@60 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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;
}