[Asterisk-cvs] asterisk/channels chan_h323.c,1.40,1.41 chan_mgcp.c,1.42,1.43

citats at lists.digium.com citats at lists.digium.com
Wed Apr 7 16:12:11 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/home/citats/cvs/asterisk/channels

Modified Files:
	chan_h323.c chan_mgcp.c 
Log Message:
Remove extra argument from ast_set_*_format calls


Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- chan_h323.c	6 Apr 2004 22:17:31 -0000	1.40
+++ chan_h323.c	7 Apr 2004 20:12:23 -0000	1.41
@@ -527,8 +527,8 @@
 			if (f->subclass != p->owner->nativeformats) {
 				ast_log(LOG_DEBUG, "Oooh, format changed to %d\n", f->subclass);
 				p->owner->nativeformats = f->subclass;
-				ast_set_read_format(p->owner, p->owner->readformat, 0);
-				ast_set_write_format(p->owner, p->owner->writeformat, 0);
+				ast_set_read_format(p->owner, p->owner->readformat);
+				ast_set_write_format(p->owner, p->owner->writeformat);
 			}
 		
 			/* Do in-band DTMF detection */

Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- chan_mgcp.c	6 Apr 2004 22:17:31 -0000	1.42
+++ chan_mgcp.c	7 Apr 2004 20:12:23 -0000	1.43
@@ -1330,8 +1330,8 @@
 				if (f->subclass != p->owner->nativeformats) {
 					ast_log(LOG_DEBUG, "Oooh, format changed to %d\n", f->subclass);
 					p->owner->nativeformats = f->subclass;
-					ast_set_read_format(p->owner, p->owner->readformat, 0);
-					ast_set_write_format(p->owner, p->owner->writeformat, 0);
+					ast_set_read_format(p->owner, p->owner->readformat);
+					ast_set_write_format(p->owner, p->owner->writeformat);
 				}
 				if (p->dtmfinband) {
 				    f = ast_dsp_process(p->owner,p->dsp,f,0);




More information about the svn-commits mailing list