[asterisk-commits] trunk r10369 - in /trunk: ./ jitterbuf.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Feb 16 19:00:01 MST 2006


Author: russell
Date: Thu Feb 16 19:59:59 2006
New Revision: 10369

URL: http://svn.digium.com/view/asterisk?rev=10369&view=rev
Log:
Merged revisions 10368 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r10368 | russell | 2006-02-16 20:55:10 -0500 (Thu, 16 Feb 2006) | 2 lines

fix incorrent index calculation for jitterbuffer history (issue #6517)

........

Modified:
    trunk/   (props changed)
    trunk/jitterbuf.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/jitterbuf.c
URL: http://svn.digium.com/view/asterisk/trunk/jitterbuf.c?rev=10369&r1=10368&r2=10369&view=diff
==============================================================================
--- trunk/jitterbuf.c (original)
+++ trunk/jitterbuf.c Thu Feb 16 19:59:59 2006
@@ -158,7 +158,7 @@
 		}
 	}
 
-	kicked = jb->history[jb->hist_ptr & JB_HISTORY_SZ];
+	kicked = jb->history[jb->hist_ptr % JB_HISTORY_SZ];
 
 	jb->history[(jb->hist_ptr++) % JB_HISTORY_SZ] = delay;
 



More information about the asterisk-commits mailing list