aboutsummaryrefslogtreecommitdiffstats
path: root/src/mp3_decode.c
diff options
context:
space:
mode:
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;
}