mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fixes output of "core show codecs" to display image types correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -711,7 +711,7 @@ static char *show_codecs(struct ast_cli_entry *e, int cmd, struct ast_cli_args * | ||||
| 		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)", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user