Skip to content
Snippets Groups Projects
Commit 9bf4f164 authored by Russell Bryant's avatar Russell Bryant
Browse files

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)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d442f575
Branches
Tags
No related merge requests found
...@@ -158,7 +158,7 @@ static int history_put(jitterbuf *jb, long ts, long now, long ms) ...@@ -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; jb->history[(jb->hist_ptr++) % JB_HISTORY_SZ] = delay;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment