mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
FS-11785 [sofia] fix dead assignment in parse_payload
This commit is contained in:
parent
8925519e02
commit
1bd9fd1a86
@ -1546,7 +1546,7 @@ static void parse_payload(sdp_parser_t *p, char *r, sdp_rtpmap_t **result)
|
|||||||
else if (p->pr_config && r[0] == '*' && (r[1] == ' ' || r[1] == '\0')) {
|
else if (p->pr_config && r[0] == '*' && (r[1] == ' ' || r[1] == '\0')) {
|
||||||
PARSE_ALLOC(p, sdp_rtpmap_t, rm);
|
PARSE_ALLOC(p, sdp_rtpmap_t, rm);
|
||||||
|
|
||||||
*result = rm; result = &rm->rm_next;
|
*result = rm;
|
||||||
|
|
||||||
rm->rm_predef = 1;
|
rm->rm_predef = 1;
|
||||||
rm->rm_any = 1;
|
rm->rm_any = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user