From: Anthony Minessale Date: Sat, 27 Sep 2008 18:28:31 +0000 (+0000) Subject: remove code X-Git-Tag: v1.0.2~1106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bd4fa61151a43556f750df00a36eda01233ebbf;p=thirdparty%2Ffreeswitch.git remove code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9679 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/formats/mod_shout/mod_shout.c b/src/mod/formats/mod_shout/mod_shout.c index 6972f7ec6e..c30d781d00 100644 --- a/src/mod/formats/mod_shout/mod_shout.c +++ b/src/mod/formats/mod_shout/mod_shout.c @@ -289,18 +289,6 @@ static size_t decode_fd(shout_context_t *context, void *data, size_t bytes) } else if (decode_status == MPG123_OK) { usedlen = dlen; break; - if (context->audio_buffer) { - switch_buffer_write(context->audio_buffer, context->decode_buf, usedlen); - } else { - goto error; - } - - out = context->decode_buf; - outlen = sizeof(context->decode_buf); - usedlen = 0; - - continue; - } else if (decode_status == MPG123_DONE) { context->eof++; goto end;