[Freeswitch-svn] [commit] r3011 - freeswitch/trunk/src/mod/codecs/mod_amr

Freeswitch SVN anthm at freeswitch.org
Mon Oct 9 13:46:23 EDT 2006


Author: anthm
Date: Mon Oct  9 13:46:23 2006
New Revision: 3011

Modified:
   freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c

Log:
update

Modified: freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_amr/mod_amr.c	Mon Oct  9 13:46:23 2006
@@ -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 @@
 		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;
 }



More information about the Freeswitch-svn mailing list