[Asterisk-cvs] asterisk rtp.c,1.148,1.149

kpfleming kpfleming
Thu Oct 13 20:09:04 CDT 2005


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

Modified Files:
	rtp.c 
Log Message:
use existing sample size in frame instead of recalculating it (issue #5390)


Index: rtp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/rtp.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- rtp.c	13 Oct 2005 18:27:53 -0000	1.148
+++ rtp.c	14 Oct 2005 00:03:41 -0000	1.149
@@ -1231,7 +1231,7 @@
 	ms = calc_txstamp(rtp, &f->delivery);
 	/* Default prediction */
 	if (f->subclass < AST_FORMAT_MAX_AUDIO) {
-                pred = rtp->lastts + ast_codec_get_samples(f);
+                pred = rtp->lastts + f->samples;
 
 		/* Re-calculate last TS */
 		rtp->lastts = rtp->lastts + ms * 8;




More information about the svn-commits mailing list