aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/mp3_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/mp3_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/mp3_plugin.c b/src/decoder/mp3_plugin.c
index 72b03c8d8..0f9376b10 100644
--- a/src/decoder/mp3_plugin.c
+++ b/src/decoder/mp3_plugin.c
@@ -905,7 +905,7 @@ mp3_send_pcm(struct mp3_data *data, unsigned i, unsigned pcm_length,
data->elapsed_time,
data->bit_rate / 1000,
replay_gain_info);
- if (cmd == DECODE_COMMAND_STOP)
+ if (cmd != DECODE_COMMAND_NONE)
return cmd;
}
@@ -971,7 +971,7 @@ mp3_synth_and_send(struct mp3_data *data, ReplayGainInfo *replay_gain_info)
}
cmd = mp3_send_pcm(data, i, pcm_length, replay_gain_info);
- if (cmd == DECODE_COMMAND_STOP)
+ if (cmd != DECODE_COMMAND_NONE)
return cmd;
if (data->drop_end_samples &&