add yucky hacks to make googletalk work with ilbc (shame on them)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1206 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3c11be7fc2
commit
130d8c68f0
|
@ -161,7 +161,6 @@ static switch_status switch_ilbc_decode(switch_codec *codec,
|
||||||
unsigned int new_len = 0;
|
unsigned int new_len = 0;
|
||||||
float buf[240];
|
float buf[240];
|
||||||
|
|
||||||
printf("WTF %d\n", encoded_data_len);
|
|
||||||
for (x = 0; x < loops && new_len < *decoded_data_len; x++) {
|
for (x = 0; x < loops && new_len < *decoded_data_len; x++) {
|
||||||
iLBC_decode(buf, edp, &context->decoder, 1);
|
iLBC_decode(buf, edp, &context->decoder, 1);
|
||||||
for(y = 0; y < context->dbytes / sizeof(short) ; y++) {
|
for(y = 0; y < context->dbytes / sizeof(short) ; y++) {
|
||||||
|
|
Loading…
Reference in New Issue