Get rid of annoying and cryptic debug messages.
authorMark Michelson <mmichelson@digium.com>
Tue, 29 Sep 2009 20:20:48 +0000 (20:20 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 29 Sep 2009 20:20:48 +0000 (20:20 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@220920 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp_engine.c

index ee45bfc..cf6d2c6 100644 (file)
@@ -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;
                }
        }