mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Initialize target properly (bug #4167, take 2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -57,7 +57,7 @@ void jb_reset(jitterbuf *jb)
|
||||
memset(jb,0,sizeof(jitterbuf));
|
||||
|
||||
/* initialize length */
|
||||
jb->info.current = jb->info.target = 0;
|
||||
jb->info.current = jb->info.target = JB_TARGET_EXTRA;
|
||||
jb->info.silence_begin_ts = -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user