git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3011 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-10-09 17:46:23 +00:00
parent 5efcd0d3ee
commit 8b4e110053
1 changed files with 3 additions and 2 deletions

View File

@ -32,7 +32,8 @@
*
*/
#include "switch.h"
#include "amr-nb/amr-nb.h"
#include "amr/interf_enc.h"
#include "amr/interf_dec.h"
/*
* Check section 8.1 of rfc3267 for possible sdp options.
@ -173,7 +174,7 @@ static switch_status_t switch_amr_encode(switch_codec_t *codec,
return SWITCH_STATUS_FALSE;
}
*encoded_data_len = Encoder_Interface_Encode( context->encoder_state, context->enc_mode, (int16_t *)decoded_data, (int8_t *) encoded_data, 0);
*encoded_data_len = Encoder_Interface_Encode( context->encoder_state, context->enc_mode, (int16_t *)decoded_data, (uint8_t *) encoded_data, 0);
return SWITCH_STATUS_SUCCESS;
}