diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 03:37:55 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 03:37:55 +0000 |
commit | 746e7477e047a78296fc60347448720add025bce (patch) | |
tree | d54ca55fab5f86b789fbc524643583e4258cd294 /src/flac_decode.c | |
parent | aed844a67df54d54f4765413077af0651378bb81 (diff) | |
download | mpd-746e7477e047a78296fc60347448720add025bce.tar.gz mpd-746e7477e047a78296fc60347448720add025bce.tar.xz mpd-746e7477e047a78296fc60347448720add025bce.zip |
yes! rudimentary stream playing for mp3's!
be gentle
git-svn-id: https://svn.musicpd.org/mpd/trunk@1051 09075e82-0dd4-0310-85a5-a0d7c8717e4f
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)) { |