diff options
Diffstat (limited to 'src/decoder/mpc_plugin.c')
-rw-r--r-- | src/decoder/mpc_plugin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c index 34400f153..c55875a3f 100644 --- a/src/decoder/mpc_plugin.c +++ b/src/decoder/mpc_plugin.c @@ -184,8 +184,7 @@ mpc_decode(struct decoder *mpd_decoder, struct input_stream *inStream) samplePos += ret; - /* ret is in samples, and we have stereo */ - ret *= 2; + ret *= info.channels; mpc_to_mpd_buffer(chunk, sample_buffer, ret); |