[zaptel-commits] kpfleming: branch mogorman/zaptel-1.2-transcoder r2037 - /team/mogorman/zapte...

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Tue Jan 30 18:27:24 MST 2007


Author: kpfleming
Date: Tue Jan 30 19:27:23 2007
New Revision: 2037

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2037
Log:
cosmetic issue fix

Modified:
    team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c

Modified: team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c
URL: http://svn.digium.com/view/zaptel/team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c?view=diff&rev=2037&r1=2036&r2=2037
==============================================================================
--- team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c (original)
+++ team/mogorman/zaptel-1.2-transcoder/wctc4xxp/base.c Tue Jan 30 19:27:23 2007
@@ -1429,12 +1429,12 @@
 	for (x = 0; x < mode_count; x++) {
 		if (!strcmp(mode[x], "g729") ||
 		    !strcmp(mode[x], "G729")) {
-			strcat(wc->complexname, "G.729A /");
+			strcat(wc->complexname, "G.729A / ");
 			complexfmts |= ZT_FORMAT_G729A;
 			wc->numchannels = min(wc->numchannels, g729_numchannels);
 		} else if (!strcmp(mode[x], "g723.1") ||
 			   !strcmp(mode[x], "G723.1")) {
-			strcat(wc->complexname, "G.723.1 5.3Kbps /");
+			strcat(wc->complexname, "G.723.1 5.3Kbps / ");
 			complexfmts |= ZT_FORMAT_G723_1;
 			wc->numchannels = min(wc->numchannels, g723_numchannels);
 		} else {
@@ -1447,7 +1447,7 @@
 		return -1;
 	}
 
-	wc->complexname[strlen(wc->complexname) - 2] = '\0';
+	wc->complexname[strlen(wc->complexname) - 3] = '\0';
 
 	wc->uencode = zt_transcoder_alloc(wc->numchannels);
 	wc->udecode = zt_transcoder_alloc(wc->numchannels);



More information about the zaptel-commits mailing list