diff options
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/mpc_plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c index 885f6cfc9..816ddf522 100644 --- a/src/inputPlugins/mpc_plugin.c +++ b/src/inputPlugins/mpc_plugin.c @@ -173,10 +173,12 @@ static int mpc_decode(OutputBuffer * cb, DecoderControl * dc, closeInputStream(inStream); if (!dc->stop) { ERROR("Not a valid musepack stream"); + return -1; } else { dc->state = DECODE_STATE_STOP; dc->stop = 0; } + return 0; } dc->totalTime = mpc_streaminfo_get_length(&info); |