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

Modified Files:
        jitterbuf.c 
Log Message:
fix some lines that should not have been removed (bug #4251)


Index: jitterbuf.c
===================================================================
RCS file: /usr/cvsroot/asterisk/jitterbuf.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- jitterbuf.c 12 May 2005 19:01:03 -0000      1.9
+++ jitterbuf.c 12 May 2005 19:21:41 -0000      1.10
@@ -310,11 +310,16 @@
                jb->frames = frame;
                frame->next = frame;
                frame->prev = frame;
+       } else if (ts < jb->frames->ts) {
+               frame->next = jb->frames;
                frame->prev = jb->frames->prev;
 
                frame->next->prev = frame;
                frame->prev->next = frame;
 
+               /* frame is out of order */
+               jb->info.frames_ooo++;
+
                jb->frames = frame;
        } else { 
                p = jb->frames;

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

Reply via email to