aboutsummaryrefslogtreecommitdiffstats
path: root/src/ogg_decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ogg_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogg_decode.c b/src/ogg_decode.c
index 7fe3dfeb6..ff8d2024c 100644
--- a/src/ogg_decode.c
+++ b/src/ogg_decode.c
@@ -95,7 +95,7 @@ int ogg_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc)
while(!eof) {
if(dc->seek) {
- cb->end = 0;
+ cb->end = cb->begin;
cb->wrap = 0;
chunkpos = 0;
ov_time_seek_page(&vf,dc->seekWhere);