Commit 1d7bd086 authored by Pekka Pessi's avatar Pekka Pessi

Setting mode flags on config sdp, too.

darcs-hash:20050928141246-65a35-e97523d791d83ac0b575cd5b71adeb100d8379e7.gz
parent cae950b3
......@@ -475,9 +475,6 @@ static void post_session(sdp_parser_t *p, sdp_session_t *sdp)
return;
}
if (p->pr_insane)
return;
mode = sdp_attribute_mode(sdp->sdp_attributes, sdp_sendrecv);
/* Go through all media and set mode */
......@@ -501,6 +498,9 @@ static void post_session(sdp_parser_t *p, sdp_session_t *sdp)
}
}
if (p->pr_insane)
return;
/* Verify that all mandatory fields are present */
if (sdp_sanity_check(p) < 0)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment