aboutsummaryrefslogtreecommitdiffstats
path: root/src/flac_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flac_decode.c')
-rw-r--r--src/flac_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac_decode.c b/src/flac_decode.c
index a684e5091..29f7dbdaa 100644
--- a/src/flac_decode.c
+++ b/src/flac_decode.c
@@ -104,7 +104,7 @@ void flacPlayFile(char *file, Buffer * cb, AudioFormat * af,
if(dc->seek) {
FLAC__uint64 sampleToSeek = dc->seekWhere*
af->sampleRate+0.5;
- cb->end = 0;
+ cb->end = cb->begin;
cb->wrap = 0;
if(FLAC__file_decoder_seek_absolute(flacDec,
sampleToSeek))