aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-18 13:56:28 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-09-18 13:56:28 +0000
commita931e88c904e4e4f879b8d088959a6ec5dd0982b (patch)
tree2865848c185e3208b5b9b69db2e49d88c39ca5be
parent4fcbfbedea878e22848d235acda3e08a67e5b047 (diff)
LPC fix
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3804 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xrtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index 60951008b..fff3deed0 100755
--- a/rtp.c
+++ b/rtp.c
@@ -554,7 +554,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp)
break;
case AST_FORMAT_LPC10:
rtp->f.samples = 22 * 8;
- rtp->f.samples += (((char *)(f->data))[7] & 0x1) * 8;
+ rtp->f.samples += (((char *)(rtp->f.data))[7] & 0x1) * 8;
break;
default:
ast_log(LOG_NOTICE, "Unable to calculate samples for format %s\n", ast_getformatname(rtp->f.subclass));