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

Freeswitch SVN brian at freeswitch.org
Tue Sep 5 18:11:42 EDT 2006


Author: brian
Date: Tue Sep  5 18:11:42 2006
New Revision: 2522

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

Log:
cleanups

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	Tue Sep  5 18:11:42 2006
@@ -88,8 +88,6 @@
 		AMR_BITRATE_1220
 	};
 
-//static short bytes_per_frame[16]={ 13, 14, 16, 18, 19, 21, 26, 31, 6, 0, 0, 0, 0, 0, 0, 0 };
-
 #define AMR_Mode  7
 
 static switch_status_t switch_amr_init(switch_codec_t *codec, switch_codec_flag_t flags,
@@ -173,9 +171,6 @@
 										unsigned int *flag) 
 {
 	struct amr_context *context = codec->private_info;
-	//int dec_mode;
-	
-	//dec_mode = (*(char *)encoded_data >> 3) & 0xF;
 
 	if (!context) {
 		return SWITCH_STATUS_FALSE;



More information about the Freeswitch-svn mailing list