From: Russell Bryant Date: Fri, 28 Jan 2005 01:18:25 +0000 (+0000) Subject: fix 'show codec' (bug #3427) X-Git-Tag: 1.0.11.1~244 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1714f299c9735013ac87af8324426734fcbae991;p=thirdparty%2Fasterisk.git fix 'show codec' (bug #3427) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4904 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/frame.c b/frame.c index 019ed8fdff..1b703c9d58 100755 --- a/frame.c +++ b/frame.c @@ -595,7 +595,7 @@ static int show_codec_n(int fd, int argc, char *argv[]) for (i=0;i<32;i++) if (codec & (1 << i)) { found = 1; - ast_cli(fd, "%11u (1 << %2d) %s\n",1 << i,i,ast_codec2str(i)); + ast_cli(fd, "%11u (1 << %2d) %s\n",1 << i,i,ast_codec2str(1<