[Asterisk-cvs] asterisk jitterbuf.c,1.18,1.19

kpfleming at lists.digium.com kpfleming at lists.digium.com
Mon Jun 20 21:29:17 CDT 2005


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

Modified Files:
	jitterbuf.c 
Log Message:
handle resync delay properly (bug #4560)


Index: jitterbuf.c
===================================================================
RCS file: /usr/cvsroot/asterisk/jitterbuf.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- jitterbuf.c	21 Jun 2005 01:20:14 -0000	1.18
+++ jitterbuf.c	21 Jun 2005 01:30:10 -0000	1.19
@@ -135,7 +135,7 @@
 
 				jb_warn("Resyncing the jb. last_delay %ld, this delay %ld, threshold %ld, new offset %ld\n", jb->info.last_delay, delay, threshold, ts - now);
 				jb->info.resync_offset = ts - now;
-				jb->info.last_delay = 0; /* after resync, frame is right on time */
+				jb->info.last_delay = delay = 0; /* after resync, frame is right on time */
 			} else {
 				return -1;
 			}




More information about the svn-commits mailing list