mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
fix typo. Bug #813
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2551,7 +2551,7 @@ static int add_sdp(struct sip_request *resp, struct sip_pvt *p, struct ast_rtp *
|
|||||||
if (x < AST_FORMAT_MAX_AUDIO) {
|
if (x < AST_FORMAT_MAX_AUDIO) {
|
||||||
strncat(m, costr, sizeof(m) - strlen(m));
|
strncat(m, costr, sizeof(m) - strlen(m));
|
||||||
snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/8000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x));
|
snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/8000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x));
|
||||||
strncat(a, costr, sizeof(m) - strlen(a));
|
strncat(a, costr, sizeof(a) - strlen(a));
|
||||||
} else {
|
} else {
|
||||||
strncat(m2, costr, sizeof(m2) - strlen(m2));
|
strncat(m2, costr, sizeof(m2) - strlen(m2));
|
||||||
snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/90000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x));
|
snprintf(costr, sizeof(costr), "a=rtpmap:%d %s/90000\r\n", codec, ast_rtp_lookup_mime_subtype(1, x));
|
||||||
|
Reference in New Issue
Block a user