From: Automerge script Date: Fri, 17 Feb 2006 02:03:24 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.5-netsec~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=304e39b8ecd2bdfc4625cf85c71e43f4c674817f;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@10389 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/jitterbuf.c b/jitterbuf.c index 6f1c1bb718..2fb349764e 100644 --- a/jitterbuf.c +++ b/jitterbuf.c @@ -158,7 +158,7 @@ static int history_put(jitterbuf *jb, long ts, long now, long ms) } } - 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;