MT#60476 store full attribute type in `sdp_attr`

Change-Id: I1e4bd5ae2e3eef383733616c21b3669c8ab5ab94
pull/1870/head
Richard Fuchs 1 year ago
parent bb326e91bf
commit ed05e4c04b

@ -293,6 +293,7 @@ struct sdp_attribute {
struct sdp_attr {
struct sdp_attribute_strs strs;
enum attr_id attr;
enum attribute_other other;
};
@ -1759,6 +1760,7 @@ static struct sdp_attr *sdp_attr_dup(const struct sdp_attribute *c) {
ac->strs.name = call_str_cpy(&c->strs.name);
ac->strs.value = call_str_cpy(&c->strs.value);
ac->other = c->other;
ac->attr = c->attr;
return ac;
}

Loading…
Cancel
Save