2
0
Эх сурвалжийг харах

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

(cherry picked from commit c7f89e81504c425a83f3423bc4b4d9d1a8a48909)
Daniel-Constantin Mierla 11 сар өмнө
parent
commit
a688b24ac7

+ 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;
 	}
 	}