aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index af5ca2c21..e3f13fada 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -410,7 +410,10 @@ void decodeParent(PlayerControl * pc, DecoderControl * dc, OutputBuffer * cb) {
processDecodeInput();
handleDecodeStart();
if(!dc->seek && seeking) {
- if(dc->seekChunk >= 0) cb->begin = dc->seekChunk;
+ if(dc->seekChunk >= 0) {
+ cb->begin = dc->seekChunk;
+ cb->wrap = 0;
+ }
seeking = 0;
}
if(dc->state==DECODE_STATE_STOP &&