[svn-commits] oej: branch oej/sip-t140-red r116201 - /team/oej/sip-t140-red/main/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed May 14 04:07:04 CDT 2008


Author: oej
Date: Wed May 14 04:07:03 2008
New Revision: 116201

URL: http://svn.digium.com/view/asterisk?view=rev&rev=116201
Log:
Formatting mostly

Modified:
    team/oej/sip-t140-red/main/frame.c
    team/oej/sip-t140-red/main/rtp.c

Modified: team/oej/sip-t140-red/main/frame.c
URL: http://svn.digium.com/view/asterisk/team/oej/sip-t140-red/main/frame.c?view=diff&rev=116201&r1=116200&r2=116201
==============================================================================
--- team/oej/sip-t140-red/main/frame.c (original)
+++ team/oej/sip-t140-red/main/frame.c Wed May 14 04:07:03 2008
@@ -586,10 +586,12 @@
 
 	all = strcasecmp(name, "all") ? 0 : 1;
 	for (x = 0; x < sizeof(AST_FORMAT_LIST) / sizeof(AST_FORMAT_LIST[0]); x++) {
-	  if (all || !strcasecmp(AST_FORMAT_LIST[x].name,name) || !strcasecmp(AST_FORMAT_LIST[x].name,ast_expand_codec_alias(name))) {
-	           format |= AST_FORMAT_LIST[x].bits;
-	            if (!all)
-	              break;
+		if (all || 
+			  !strcasecmp(AST_FORMAT_LIST[x].name,name) ||
+			  !strcasecmp(AST_FORMAT_LIST[x].name, ast_expand_codec_alias(name))) {
+			format |= AST_FORMAT_LIST[x].bits;
+			if (!all)
+				break;
 		}
 	}
 

Modified: team/oej/sip-t140-red/main/rtp.c
URL: http://svn.digium.com/view/asterisk/team/oej/sip-t140-red/main/rtp.c?view=diff&rev=116201&r1=116200&r2=116201
==============================================================================
--- team/oej/sip-t140-red/main/rtp.c (original)
+++ team/oej/sip-t140-red/main/rtp.c Wed May 14 04:07:03 2008
@@ -2460,7 +2460,7 @@
 {
 	AST_SCHED_DEL(rtp->sched, rtp->rtcp->schedid);
 	if (rtp->red) {
-		ast_sched_del(rtp->sched, rtp->red->schedid);
+		AST_SCHED_DEL(rtp->sched, rtp->red->schedid);
 		free(rtp->red);
 		rtp->red = NULL;
 	}
@@ -4381,7 +4381,7 @@
 		for (i = 1; i < red->num_gen+1; i++)
 			len += red->len[i];
 
-	       	memmove(&data[red->hdrlen], &data[red->hdrlen+red->len[0]], len); 
+		memmove(&data[red->hdrlen], &data[red->hdrlen+red->len[0]], len); 
 	}
 	
 	/* Store length of each generation and primary data length*/




More information about the svn-commits mailing list