don't assert when the impossible happens (or did we get an sdp with no m= lines?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14940 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c7620f6b30
commit
6a9ebc5eb5
|
@ -1 +1 @@
|
|||
Thu Jul 9 19:53:33 CDT 2009
|
||||
Mon Sep 21 14:27:58 CDT 2009
|
||||
|
|
|
@ -778,7 +778,8 @@ int soa_sdp_upgrade(soa_session_t *ss,
|
|||
continue;
|
||||
if (j >= Nu) /* lines removed from user SDP */
|
||||
continue;
|
||||
assert(i < Ns);
|
||||
if (i >= Ns) /* I should never be called but somehow i and Ns are 0 here sometimes */
|
||||
continue;
|
||||
s_media[i] = u_media[j], u_media[j] = SDP_MEDIA_NONE;
|
||||
u2s[j] = i, s2u[i] = j;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue