aboutsummaryrefslogtreecommitdiffstats
path: root/src/ogg_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-18 03:37:55 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-18 03:37:55 +0000
commit746e7477e047a78296fc60347448720add025bce (patch)
treed54ca55fab5f86b789fbc524643583e4258cd294 /src/ogg_decode.c
parentaed844a67df54d54f4765413077af0651378bb81 (diff)
downloadmpd-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 'src/ogg_decode.c')
-rw-r--r--src/ogg_decode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ogg_decode.c b/src/ogg_decode.c
index 4014644af..d24d6158b 100644
--- a/src/ogg_decode.c
+++ b/src/ogg_decode.c
@@ -191,8 +191,7 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc)
while(!eof) {
if(dc->seek) {
- cb->end = cb->begin;
- cb->wrap = 0;
+ clearOutputBuffer(cb);
chunkpos = 0;
ov_time_seek_page(&vf,dc->seekWhere);
dc->seek = 0;