[asterisk-commits] dvossel: trunk r306053 - /trunk/main/frame.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Feb 3 12:13:02 CST 2011


Author: dvossel
Date: Thu Feb  3 12:12:57 2011
New Revision: 306053

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=306053
Log:
Fixes output of "core show codecs" to display image types correctly.

Modified:
    trunk/main/frame.c

Modified: trunk/main/frame.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/frame.c?view=diff&rev=306053&r1=306052&r2=306053
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Thu Feb  3 12:12:57 2011
@@ -711,7 +711,7 @@
 		ast_cli(a->fd, "%19u %5s %8s (%s)\n",
 			AST_FORMAT_LIST[x].id,
 			(AST_FORMAT_GET_TYPE(AST_FORMAT_LIST[x].id) == AST_FORMAT_TYPE_AUDIO) ? "audio" :
-			(AST_FORMAT_GET_TYPE(AST_FORMAT_LIST[x].id)  == AST_FORMAT_TYPE_TEXT)  ? "image" :
+			(AST_FORMAT_GET_TYPE(AST_FORMAT_LIST[x].id)  == AST_FORMAT_TYPE_IMAGE)  ? "image" :
 			(AST_FORMAT_GET_TYPE(AST_FORMAT_LIST[x].id)  == AST_FORMAT_TYPE_VIDEO) ? "video" :
 			(AST_FORMAT_GET_TYPE(AST_FORMAT_LIST[x].id)  == AST_FORMAT_TYPE_TEXT)  ? "text"  :
 			"(unk)",




More information about the asterisk-commits mailing list