]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove code
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 27 Sep 2008 18:28:31 +0000 (18:28 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 27 Sep 2008 18:28:31 +0000 (18:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9679 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_shout/mod_shout.c

index 6972f7ec6e5723fdd343bd9cf70698f66b372d5a..c30d781d00180dd0a50f0749ce1db22122d96723 100644 (file)
@@ -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;