diff options
Diffstat (limited to '')
-rw-r--r-- | src/flac_decode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/flac_decode.c b/src/flac_decode.c index 105a3ef6f..6c718f654 100644 --- a/src/flac_decode.c +++ b/src/flac_decode.c @@ -147,8 +147,7 @@ int flac_decode(OutputBuffer * cb, DecoderControl *dc) { if(dc->seek) { FLAC__uint64 sampleToSeek = dc->seekWhere* dc->audioFormat.sampleRate+0.5; - cb->end = cb->begin; - cb->wrap = 0; + clearOutputBuffer(cb); if(FLAC__seekable_stream_decoder_seek_absolute(flacDec, sampleToSeek)) { |