[asterisk-commits] file: trunk r195207 - in /trunk: ./ main/frame.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 18 10:53:29 CDT 2009


Author: file
Date: Mon May 18 10:53:26 2009
New Revision: 195207

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

........
  r195206 | file | 2009-05-18 12:51:22 -0300 (Mon, 18 May 2009) | 7 lines
  
  Fix a typo which caused loss of audio when using G729 in some scenarios with a smoother present.
  
  (closes issue #15105)
  Reported by: bamby
  Patches:
        process-vad-correctly.diff uploaded by bamby (license 430)
........

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

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

Modified: trunk/main/frame.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/main/frame.c?view=diff&rev=195207&r1=195206&r2=195207
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Mon May 18 10:53:26 2009
@@ -256,7 +256,7 @@
 	/* Make sure we have enough data */
 	if (s->len < s->size) {
 		/* Or, if this is a G.729 frame with VAD on it, send it immediately anyway */
-		if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->size % 10)))
+		if (!((s->flags & AST_SMOOTHER_FLAG_G729) && (s->len % 10)))
 			return NULL;
 	}
 	len = s->size;




More information about the asterisk-commits mailing list