aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/mp3_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:12 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:12 +0200
commitf667da1b46b7855086205823d6709e09bf7f65dc (patch)
tree107df16807e2dace46a90289225538d85afb0e39 /src/inputPlugins/mp3_plugin.c
parent09fbbdc366edb9d968a277c8635c9410417df099 (diff)
downloadmpd-f667da1b46b7855086205823d6709e09bf7f65dc.tar.gz
mpd-f667da1b46b7855086205823d6709e09bf7f65dc.tar.xz
mpd-f667da1b46b7855086205823d6709e09bf7f65dc.zip
mp3: removed double cmd==STOP check
cmd has already been checked before, it cannot have changed meanwhile because it is a local variable.
Diffstat (limited to 'src/inputPlugins/mp3_plugin.c')
-rw-r--r--src/inputPlugins/mp3_plugin.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c
index 9bdaedb4d..3321da02d 100644
--- a/src/inputPlugins/mp3_plugin.c
+++ b/src/inputPlugins/mp3_plugin.c
@@ -966,9 +966,6 @@ static int mp3Read(mp3DecodeData * data, struct decoder *decoder,
}
data->outputPtr = data->outputBuffer;
-
- if (cmd == DECODE_COMMAND_STOP)
- break;
}
}