projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de8d14
)
Fix slow down in rtp.c
author
Mark Spencer
<markster@digium.com>
Wed, 25 Feb 2004 20:59:39 +0000
(20:59 +0000)
committer
Mark Spencer
<markster@digium.com>
Wed, 25 Feb 2004 20:59:39 +0000
(20:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2244
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
rtp.c
patch
|
blob
|
history
diff --git
a/rtp.c
b/rtp.c
index
83bbfa8
..
3e0a652
100755
(executable)
--- a/
rtp.c
+++ b/
rtp.c
@@
-913,7
+913,7
@@
static int ast_rtp_raw_write(struct ast_rtp *rtp, struct ast_frame *f, int codec
case AST_FORMAT_ALAW:
/* If we're within +/- 20ms from when where we
predict we should be, use that */
- pred = rtp->lastts + f->datalen * 2;
+ pred = rtp->lastts + f->datalen;
break;
case AST_FORMAT_ADPCM:
case AST_FORMAT_G726: