[asterisk-commits] kpfleming: trunk r47339 - /trunk/main/frame.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 8 14:59:51 MST 2006


Author: kpfleming
Date: Wed Nov  8 15:59:51 2006
New Revision: 47339

URL: http://svn.digium.com/view/asterisk?rev=47339&view=rev
Log:
restore display of G.722 codec

Modified:
    trunk/main/frame.c

Modified: trunk/main/frame.c
URL: http://svn.digium.com/view/asterisk/trunk/main/frame.c?rev=47339&r1=47338&r2=47339&view=diff
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Wed Nov  8 15:59:51 2006
@@ -612,7 +612,7 @@
 	ast_cli(fd, "--------------------------------------------------------------------------------\n");
 	if ((argc == 3) || (!strcasecmp(argv[3],"audio"))) {
 		found = 1;
-		for (i=0;i<12;i++) {
+		for (i=0;i<13;i++) {
 			snprintf(hex,25,"(0x%x)",1<<i);
 			ast_cli(fd, "%11u (1 << %2d) %10s  audio   %8s   (%s)\n",1 << i,i,hex,ast_getformatname(1<<i),ast_codec2str(1<<i));
 		}



More information about the asterisk-commits mailing list