diff options
Diffstat (limited to '')
-rw-r--r-- | src/audiofile_decode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audiofile_decode.c b/src/audiofile_decode.c index b6b459f08..20c05f426 100644 --- a/src/audiofile_decode.c +++ b/src/audiofile_decode.c @@ -98,8 +98,7 @@ int audiofile_decode(OutputBuffer * cb, DecoderControl * dc) { while(!eof) { if(dc->seek) { - cb->end = cb->begin; - cb->wrap = 0; + clearOutputBuffer(cb); current = dc->seekWhere * dc->audioFormat.sampleRate; afSeekFrame(af_fp, AF_DEFAULT_TRACK,current); |