aboutsummaryrefslogtreecommitdiffstats
path: root/src/audiofile_decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/audiofile_decode.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audiofile_decode.c b/src/audiofile_decode.c
index b4a224d19..c62fb816d 100644
--- a/src/audiofile_decode.c
+++ b/src/audiofile_decode.c
@@ -109,7 +109,11 @@ int audiofile_decode(OutputBuffer * cb, DecoderControl * dc) {
if(ret<=0) eof = 1;
else {
current += ret;
- sendDataToOutputBuffer(cb,dc,chunk,ret*fs,
+ sendDataToOutputBuffer(cb,
+ NULL,
+ dc,
+ chunk,
+ ret*fs,
(float)current /
(float)dc->audioFormat.sampleRate,
bitRate);