aboutsummaryrefslogtreecommitdiffstats
path: root/src/ogg_decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-20 04:32:38 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-20 04:32:38 +0000
commit0b051094166ad33184100f229931ea0f6f21e176 (patch)
tree3735e311736b4e72b831d59fbeaf48ce008c621e /src/ogg_decode.c
parent05889aa3e337ac264c185dd60cec5e5071fe0a31 (diff)
downloadmpd-0b051094166ad33184100f229931ea0f6f21e176.tar.gz
mpd-0b051094166ad33184100f229931ea0f6f21e176.tar.xz
mpd-0b051094166ad33184100f229931ea0f6f21e176.zip
more bug fixes
git-svn-id: https://svn.musicpd.org/mpd/trunk@1108 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/ogg_decode.c')
-rw-r--r--src/ogg_decode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ogg_decode.c b/src/ogg_decode.c
index 9bd24de01..cdce55367 100644
--- a/src/ogg_decode.c
+++ b/src/ogg_decode.c
@@ -183,6 +183,10 @@ int ogg_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream)
ERROR("Input does not appear to be an Ogg Vorbis stream.\n");
return -1;
}
+ else {
+ dc->state = DECODE_STATE_STOP;
+ dc->stop = 0;
+ }
return 0;
}