diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-21 01:30:10 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-21 01:30:10 +0000 |
commit | 2150b9d7529697af6cbd415e31a28d93102a7853 (patch) | |
tree | ac089714d96491d1a457c0a57263e47cb38f57f6 /jitterbuf.c | |
parent | 0b88edf376323199e0cbb04d61051ff102760b1f (diff) |
handle resync delay properly (bug #4560)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5953 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'jitterbuf.c')
-rwxr-xr-x | jitterbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jitterbuf.c b/jitterbuf.c index 16dd4bfe7..97d17e035 100755 --- a/jitterbuf.c +++ b/jitterbuf.c @@ -135,7 +135,7 @@ static int history_put(jitterbuf *jb, long ts, long now, long ms) 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; } |