mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Get rid of annoying and cryptic debug messages.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@220920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -458,7 +458,6 @@ void ast_rtp_codecs_payloads_clear(struct ast_rtp_codecs *codecs, struct ast_rtp | ||||
| 	int i; | ||||
|  | ||||
| 	for (i = 0; i < AST_RTP_MAX_PT; i++) { | ||||
| 		ast_debug(2, "Clearing payload %d on %p\n", i, codecs); | ||||
| 		codecs->payloads[i].asterisk_format = 0; | ||||
| 		codecs->payloads[i].code = 0; | ||||
| 		if (instance && instance->engine && instance->engine->payload_set) { | ||||
| @@ -473,7 +472,6 @@ void ast_rtp_codecs_payloads_default(struct ast_rtp_codecs *codecs, struct ast_r | ||||
|  | ||||
| 	for (i = 0; i < AST_RTP_MAX_PT; i++) { | ||||
| 		if (static_RTP_PT[i].code) { | ||||
| 			ast_debug(2, "Set default payload %d on %p\n", i, codecs); | ||||
| 			codecs->payloads[i].asterisk_format = static_RTP_PT[i].asterisk_format; | ||||
| 			codecs->payloads[i].code = static_RTP_PT[i].code; | ||||
| 			if (instance && instance->engine && instance->engine->payload_set) { | ||||
| @@ -627,7 +625,6 @@ int ast_rtp_codecs_payload_code(struct ast_rtp_codecs *codecs, const int asteris | ||||
|  | ||||
| 	for (i = 0; i < AST_RTP_MAX_PT; i++) { | ||||
| 		if (codecs->payloads[i].asterisk_format == asterisk_format && codecs->payloads[i].code == code) { | ||||
| 			ast_debug(2, "Found code %d at payload %d on %p\n", code, i, codecs); | ||||
| 			return i; | ||||
| 		} | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user