提交 8b4e1100 authored 作者: Anthony Minessale's avatar Anthony Minessale

update

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3011 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5efcd0d3
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
* *
*/ */
#include "switch.h" #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. * 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, ...@@ -173,7 +174,7 @@ static switch_status_t switch_amr_encode(switch_codec_t *codec,
return SWITCH_STATUS_FALSE; 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; return SWITCH_STATUS_SUCCESS;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论