[asterisk-commits] murf: branch murf/bug8189 r47807 - /team/murf/bug8189/main/translate.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Nov 17 13:48:37 MST 2006


Author: murf
Date: Fri Nov 17 14:48:37 2006
New Revision: 47807

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47807
Log:
this update is pretty small

Modified:
    team/murf/bug8189/main/translate.c

Modified: team/murf/bug8189/main/translate.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug8189/main/translate.c?view=diff&rev=47807&r1=47806&r2=47807
==============================================================================
--- team/murf/bug8189/main/translate.c (original)
+++ team/murf/bug8189/main/translate.c Fri Nov 17 14:48:37 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 asterisk-commits mailing list