[asterisk-commits] file: trunk r64279 - in /trunk: ./ codecs/codec_speex.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon May 14 11:49:41 MST 2007


Author: file
Date: Mon May 14 13:49:40 2007
New Revision: 64279

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64279
Log:
Merged revisions 64278 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64278 | file | 2007-05-14 14:48:33 -0400 (Mon, 14 May 2007) | 2 lines

Properly set datalen field when doing PLC in codec_speex. (issue #9722 reported by mihai)

........

Modified:
    trunk/   (props changed)
    trunk/codecs/codec_speex.c

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

Modified: trunk/codecs/codec_speex.c
URL: http://svn.digium.com/view/asterisk/trunk/codecs/codec_speex.c?view=diff&rev=64279&r1=64278&r2=64279
==============================================================================
--- trunk/codecs/codec_speex.c (original)
+++ trunk/codecs/codec_speex.c Mon May 14 13:49:40 2007
@@ -223,6 +223,7 @@
 		}
 #endif
 		pvt->samples += tmp->framesize;
+		pvt->datalen += 2 * tmp->framesize; /* 2 bytes/sample */
 		return 0;
 	}
 



More information about the asterisk-commits mailing list