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