diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-15 16:26:52 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-05-15 16:26:52 +0000 |
commit | 82be033766c71b6b6aca8877e503929abb8a75cb (patch) | |
tree | 1392c8e3da847a369ba4f5bd300bb2305a5a45ee /rtp.c | |
parent | 550ed9b67e3a726bae54cc62c8a43b802adedee8 (diff) |
Fix typo in outgoing rfc2833 handling (bug #1646)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2969 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -918,7 +918,6 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit) int hdrlen = 12; int res; int ms; - int pred; int x; char data[256]; @@ -951,7 +950,7 @@ int ast_rtp_senddigit(struct ast_rtp *rtp, char digit) ms = calc_txstamp(rtp, NULL); /* Default prediction */ - pred = rtp->lastts + ms * 8; + rtp->lastts = rtp->lastts + ms * 8; /* Get a pointer to the header */ rtpheader = (unsigned int *)data; |