From c7f89e81504c425a83f3423bc4b4d9d1a8a48909 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Thu, 17 Oct 2024 08:21:43 +0200 Subject: [PATCH] core: parser sdp - check if body is enough for rtpmap --- src/core/parser/sdp/sdp_helpr_funcs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/parser/sdp/sdp_helpr_funcs.c b/src/core/parser/sdp/sdp_helpr_funcs.c index 079a9992402..a74f78abb84 100644 --- a/src/core/parser/sdp/sdp_helpr_funcs.c +++ b/src/core/parser/sdp/sdp_helpr_funcs.c @@ -152,7 +152,8 @@ int extract_rtpmap(str *body, str *rtpmap_payload, str *rtpmap_encoding, int len; if(strncasecmp(body->s, "a=rtpmap:", 9) != 0) { - /*LM_DBG("We are not pointing to an a=rtpmap: attribute =>`%.*s'\n", body->len, body->s); */ + /*LM_DBG("We are not pointing to an a=rtpmap: attribute =>`%.*s'\n", + * body->len, body->s); */ return -1; }