Skip to content

Commit

Permalink
core: parser sdp - check if body is enough for rtpmap
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Oct 17, 2024
1 parent 1869a9d commit c7f89e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/parser/sdp/sdp_helpr_funcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c7f89e8

Please sign in to comment.