restore display of G.722 codec
authorKevin P. Fleming <kpfleming@digium.com>
Wed, 8 Nov 2006 21:59:51 +0000 (21:59 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Wed, 8 Nov 2006 21:59:51 +0000 (21:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47339 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/frame.c

index fdb750e..8991293 100644 (file)
@@ -612,7 +612,7 @@ static int show_codecs(int fd, int argc, char *argv[])
        ast_cli(fd, "--------------------------------------------------------------------------------\n");
        if ((argc == 3) || (!strcasecmp(argv[3],"audio"))) {
                found = 1;
        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));
                }
                        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));
                }