[asterisk-commits] sruffell: branch sruffell/asterisk-1.4-transcoder r157005 - /team/sruffell/as...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 14 16:34:59 CST 2008


Author: sruffell
Date: Fri Nov 14 16:34:58 2008
New Revision: 157005

URL: http://svn.digium.com/view/asterisk?view=rev&rev=157005
Log:
And make sure to update the samples....

Modified:
    team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c

Modified: team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c?view=diff&rev=157005&r1=157004&r2=157005
==============================================================================
--- team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c (original)
+++ team/sruffell/asterisk-1.4-transcoder/codecs/codec_dahdi.c Fri Nov 14 16:34:58 2008
@@ -171,6 +171,7 @@
 		if (!f->datalen) {
 			/* If the datalen is 0, we'll just ignore the frame. */
 			res = -1;
+			pvt->samples += f->samples;
 			if (option_verbose > 2)
 				ast_verbose(VERBOSE_PREFIX_3 "codec_zap: " \
 				 "dropping frame of size 0\n");




More information about the asterisk-commits mailing list