mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
remove code
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9679 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
08b8205780
commit
1bd4fa6115
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user