MT#58535 rtpp_flags: fix bug in `direction` parsing

Instead of adding `key` the `val` is to be added.

Change-Id: I8ffdfd8add0d91669f75c2cffe30a3e07e3089eb
pull/1819/head
Donat Zenichev 2 years ago
parent 292c8ae660
commit 1331437a1b

@ -395,7 +395,7 @@ void parse_rtpp_flags(const str * rtpp_flags, bencode_item_t * root_dict,
transport = 0x103;
/* direction */
else if (str_eq(&key, "direction"))
bencode_list_add_str(direction, &key);
bencode_list_add_str(direction, &val);
else
goto generic;
goto next;

Loading…
Cancel
Save