[svn-commits] kpfleming: branch 1.2 r3346 - /branches/1.2/wctc4xxp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Dec 7 16:12:47 CST 2007


Author: kpfleming
Date: Fri Dec  7 16:12:46 2007
New Revision: 3346

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3346
Log:
revert a change that caused some problems and wasn't necessary

Modified:
    branches/1.2/wctc4xxp/base.c

Modified: branches/1.2/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/wctc4xxp/base.c?view=diff&rev=3346&r1=3345&r2=3346
==============================================================================
--- branches/1.2/wctc4xxp/base.c (original)
+++ branches/1.2/wctc4xxp/base.c Fri Dec  7 16:12:46 2007
@@ -1100,7 +1100,7 @@
 					chars[i] = readchunk[i+54];
 
 				zth->dstlen += rlen;
-				zth->dstsamples += G729_SAMPLES;
+				zth->dstsamples = zth->dstlen * 8;
 
 			} else {
 				ztc->errorstatus = -EOVERFLOW;




More information about the svn-commits mailing list