aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_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/mp3_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 '')
-rw-r--r--src/mp3_decode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mp3_decode.c b/src/mp3_decode.c
index 7b40461a9..3223e3360 100644
--- a/src/mp3_decode.c
+++ b/src/mp3_decode.c
@@ -567,6 +567,10 @@ int mp3_decode(OutputBuffer * cb, DecoderControl * dc, InputStream * inStream) {
ERROR("Input does not appear to be a mp3 bit stream.\n");
return -1;
}
+ else {
+ dc->state = DECODE_STATE_STOP;
+ dc->stop = 0;
+ }
return 0;
}