[Asterisk-cvs] asterisk rtp.c,1.91,1.92

markster at lists.digium.com markster at lists.digium.com
Sat Sep 18 09:52:29 CDT 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv13087

Modified Files:
	rtp.c 
Log Message:
LPC fix


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- rtp.c	15 Sep 2004 18:40:07 -0000	1.91
+++ rtp.c	18 Sep 2004 13:56:28 -0000	1.92
@@ -554,7 +554,7 @@
 			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));




More information about the svn-commits mailing list