aboutsummaryrefslogtreecommitdiffstats
path: root/src/ogg_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogg_decode.c')
-rw-r--r--src/ogg_decode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ogg_decode.c b/src/ogg_decode.c
index cdce55367..2cb70c4e1 100644
--- a/src/ogg_decode.c
+++ b/src/ogg_decode.c
@@ -241,16 +241,16 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
}
doReplayGain(chunk,ret,&(dc->audioFormat),
replayGainScale);
- sendDataToOutputBuffer(cb,dc,chunk,chunkpos,
- ov_time_tell(&vf),bitRate);
+ sendDataToOutputBuffer(cb, inStream, dc, chunk,
+ chunkpos, ov_time_tell(&vf), bitRate);
if(dc->stop) break;
chunkpos = 0;
}
}
if(!dc->stop && chunkpos > 0) {
- sendDataToOutputBuffer(cb,dc,chunk,chunkpos,
- ov_time_tell(&vf),bitRate);
+ sendDataToOutputBuffer(cb, NULL, dc, chunk, chunkpos,
+ ov_time_tell(&vf), bitRate);
}
ov_clear(&vf);