From 1bd4fa61151a43556f750df00a36eda01233ebbf Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sat, 27 Sep 2008 18:28:31 +0000 Subject: [PATCH] remove code git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9679 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_shout/mod_shout.c | 12 ------------ 1 file changed, 12 deletions(-) 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;