diff options
Diffstat (limited to 'src/audiofile_decode.c')
-rw-r--r-- | src/audiofile_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audiofile_decode.c b/src/audiofile_decode.c index 0c2824dc6..9889fbf2f 100644 --- a/src/audiofile_decode.c +++ b/src/audiofile_decode.c @@ -86,7 +86,7 @@ int audiofile_decode(Buffer * cb, AudioFormat * af, DecoderControl * dc) while(!eof) { if(dc->seek) { - cb->end = 0; + cb->end = cb->begin; cb->wrap = 0; current = dc->seekWhere * af->sampleRate; afSeekFrame(af_fp, AF_DEFAULT_TRACK,current); |