[Asterisk-cvs] asterisk frame.c,1.42,1.43

markster at lists.digium.com markster at lists.digium.com
Sun Jan 9 04:28:30 CST 2005


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv23769

Modified Files:
	frame.c 
Log Message:
Merge experimental codec preferences for IAX2 (bug #2971)


Index: frame.c
===================================================================
RCS file: /usr/cvsroot/asterisk/frame.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- frame.c	8 Dec 2004 00:55:31 -0000	1.42
+++ frame.c	9 Jan 2005 10:32:53 -0000	1.43
@@ -810,9 +810,9 @@
 	return 0;	
 }
 
-void ast_codec_pref_shift(struct ast_codec_pref *pref, char *buf, size_t size, int right) 
+void ast_codec_pref_convert(struct ast_codec_pref *pref, char *buf, size_t size, int right) 
 {
-	int x = 0, differential = 65, mem = 0;
+	int x = 0, differential = (int) 'A', mem = 0;
 	char *from = NULL, *to = NULL;
 
 	if(right) {




More information about the svn-commits mailing list