aboutsummaryrefslogtreecommitdiffstats
path: root/src/ogg_decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;
}