[Freeswitch-svn] [commit] r7562 - freeswitch/trunk/src/mod/codecs/mod_voipcodecs

Freeswitch SVN brian at freeswitch.org
Fri Feb 8 15:44:42 EST 2008


Author: brian
Date: Fri Feb  8 15:44:42 2008
New Revision: 7562

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

Log:
tweak

Modified: freeswitch/trunk/src/mod/codecs/mod_voipcodecs/mod_voipcodecs.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_voipcodecs/mod_voipcodecs.c	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_voipcodecs/mod_voipcodecs.c	Fri Feb  8 15:44:42 2008
@@ -158,7 +158,7 @@
 		return SWITCH_STATUS_FALSE;
 	}
 
-	*encoded_data_len = gsm0610_encode(&context->encoder_object, (uint8_t *) encoded_data, (int16_t *) decoded_data, decoded_data_len / decoded_data_len);
+	*encoded_data_len = gsm0610_encode(&context->encoder_object, (uint8_t *) encoded_data, (int16_t *) decoded_data, decoded_data_len / 320);
 
 	return SWITCH_STATUS_SUCCESS;
 }



More information about the Freeswitch-svn mailing list