[farsight2/master] Assert if a participant has no cname

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:20 PST 2008


---
 gst/fsrtpconference/fs-rtp-session.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index c317b3b..f7a6dc5 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2148,6 +2148,8 @@ fs_rtp_session_associate_ssrc_cname (FsRtpSession *session,
     g_object_get (participant, "cname", &localcname, NULL);
     g_object_unref (participant);
 
+    g_assert (localcname);
+
     if (!strcmp (localcname, cname))
     {
       stream = localstream;
-- 
1.5.6.5




More information about the farsight-commits mailing list