[Asterisk-cvs] asterisk rtp.c,1.29,1.30

jeremy at lists.digium.com jeremy at lists.digium.com
Mon Nov 3 00:48:34 CST 2003


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

Modified Files:
	rtp.c 
Log Message:
fix g.723.1 pass-thru. Bug #477


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- rtp.c	6 Oct 2003 05:04:52 -0000	1.29
+++ rtp.c	3 Nov 2003 07:14:43 -0000	1.30
@@ -137,7 +137,7 @@
 	int res;
 	while(pos < maxlen) {
 		res = g723_len(buf[pos]);
-		if (res < 0)
+		if (res <= 0)
 			break;
 		samples += 240;
 		pos += res;




More information about the svn-commits mailing list