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;
                        }

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to