Commit febe2cde authored by Pekka Pessi's avatar Pekka Pessi

soa_static.c: include media formats in rejected m

Ignore-this: b8451ff34ff1bfa6ed9cd73a0dde8ab9

darcs-hash:20090512195928-db55f-9c165a2c7d720af871bc39b09334f88af415096c.gz
parent 71aceb56
......@@ -281,7 +281,12 @@ sdp_media_t *soa_sdp_make_rejected_media(su_home_t *home,
rejected->m_proto_name = m->m_proto_name;
if (include_all_codecs) {
rejected->m_rtpmaps = m->m_rtpmaps;
if (m->m_rtpmaps) {
rejected->m_rtpmaps = m->m_rtpmaps;
}
else if (m->m_format) {
rejected->m_format = m->m_format;
}
}
rejected->m_rejected = 1;
......
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