Browse Source

core: parser sdp - check if body is enough for rtpmap

(cherry picked from commit c7f89e81504c425a83f3423bc4b4d9d1a8a48909)
(cherry picked from commit a688b24ac777cb93306a1a777e687de625d6e4d0)
Daniel-Constantin Mierla 11 months ago
parent
commit
bec9f1cc73
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/core/parser/sdp/sdp_helpr_funcs.c

+ 2 - 1
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;
 	int len;
 
 
 	if(strncasecmp(body->s, "a=rtpmap:", 9) != 0) {
 	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;
 		return -1;
 	}
 	}