Skip to content
Snippets Groups Projects
Commit 30f31c93 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#1722] Fix iteration over all attribute field for media

parent 386cb23a
Branches
Tags
No related merge requests found
...@@ -706,7 +706,7 @@ void Sdp::get_remote_sdp_crypto_from_offer (const pjmedia_sdp_session* remote_sd ...@@ -706,7 +706,7 @@ void Sdp::get_remote_sdp_crypto_from_offer (const pjmedia_sdp_session* remote_sd
// iterate over all attribute for this media // iterate over all attribute for this media
for(j = 0; j < attr_count; j++) { for(j = 0; j < attr_count; j++) {
attribute = media->attr[i]; attribute = media->attr[j];
// test if this attribute is a crypto // test if this attribute is a crypto
if (pj_stricmp2 (&attribute->name, "crypto") == 0) { if (pj_stricmp2 (&attribute->name, "crypto") == 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment