[Asterisk-cvs] asterisk rtp.c,1.57,1.58

markster at lists.digium.com markster at lists.digium.com
Wed Mar 17 11:54:15 CST 2004


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

Modified Files:
	rtp.c 
Log Message:
Fix small but deadly typo


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- rtp.c	15 Mar 2004 16:20:01 -0000	1.57
+++ rtp.c	17 Mar 2004 16:49:00 -0000	1.58
@@ -994,7 +994,7 @@
 		}
 		/* Re-calculate last TS */
 		rtp->lastts = rtp->lastts + ms * 8;
-		if (!f->delivery.tv_sec && f->delivery.tv_usec) {
+		if (!f->delivery.tv_sec && !f->delivery.tv_usec) {
 			/* If this isn't an absolute delivery time, Check if it is close to our prediction, 
 			   and if so, go with our prediction */
 			if (abs(rtp->lastts - pred) < 640)




More information about the svn-commits mailing list