diff --git a/src/mod/formats/mod_shout/mod_shout.c b/src/mod/formats/mod_shout/mod_shout.c index 7abade5c6a..af8b3158e6 100644 --- a/src/mod/formats/mod_shout/mod_shout.c +++ b/src/mod/formats/mod_shout/mod_shout.c @@ -91,6 +91,11 @@ static inline void free_context(shout_context_t *context) int len; int16_t blank[2048] = {0}, *r = NULL; + + if (context->channels == 2) { + r = blank; + } + len = lame_encode_buffer(context->gfp, blank, r, sizeof(blank) / 2, mp3buffer, sizeof(mp3buffer)); if (len) {