[farsight2/master] Oops, check for item in get_stream_by_ssrc
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:19 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 3de8096..c317b3b 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -1291,7 +1291,8 @@ fs_rtp_session_get_stream_by_ssrc (FsRtpSession *self,
if (fs_rtp_stream_knows_ssrc_locked (item->data, ssrc))
break;
- stream = FS_RTP_STREAM (gst_object_ref (item->data));
+ if (item)
+ stream = FS_RTP_STREAM (gst_object_ref (item->data));
FS_RTP_SESSION_UNLOCK (self);
--
1.5.6.5
More information about the farsight-commits
mailing list