MT#55283 skip printing attributes if no sfd

Change-Id: Id6a61c7a7ddc4c47096ff534941f053cb00bb470
Warned-by: Coverity
pull/2223/head
Richard Fuchs 3 weeks ago
parent 1db2ec7732
commit f89eec4a06

@ -2496,6 +2496,9 @@ static void insert_candidates(GString *s, struct packet_stream *rtp, struct pack
unsigned int type_pref, local_pref;
enum ice_candidate_type cand_type;
if (!rtp->selected_sfd)
return;
media = rtp->media;
cand_type = ICT_HOST;

Loading…
Cancel
Save