[svn-commits] murf: trunk r47995 - in /trunk: ./ main/translate.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Fri Nov 24 10:40:50 MST 2006


Author: murf
Date: Fri Nov 24 11:40:49 2006
New Revision: 47995

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47995
Log:
This fix inspired by a patch supplied in bug 8189, which points out problems with the PLC code

Modified:
    trunk/   (props changed)
    trunk/main/translate.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/translate.c
URL: http://svn.digium.com/view/asterisk/trunk/main/translate.c?view=diff&rev=47995&r1=47994&r2=47995
==============================================================================
--- trunk/main/translate.c (original)
+++ trunk/main/translate.c Fri Nov 24 11:40:49 2006
@@ -172,6 +172,7 @@
 				}
 				l = plc_fillin(pvt->plc, dst + pvt->samples, l);
 				pvt->samples += l;
+				pvt->datalen = pvt->samples * 2;	/* SLIN has 2bytes for 1sample */
 			}
 			return 0;
 		}



More information about the svn-commits mailing list