[svn-commits] murf: branch 1.4 r47992 -
/branches/1.4/main/translate.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Nov 24 10:17:07 MST 2006
Author: murf
Date: Fri Nov 24 11:17:07 2006
New Revision: 47992
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47992
Log:
bug 8189 posted this fix for main/translate.c for PLC
Modified:
branches/1.4/main/translate.c
Modified: branches/1.4/main/translate.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/translate.c?view=diff&rev=47992&r1=47991&r2=47992
==============================================================================
--- branches/1.4/main/translate.c (original)
+++ branches/1.4/main/translate.c Fri Nov 24 11:17:07 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