cmd has already been checked before, it cannot have changed meanwhile because it is a local variable. ---
src/inputPlugins/mp3_plugin.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index 9bdaedb..3321da0 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; } } ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team