[farsight2/master] Ignore oldca if it doesnt exist
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:49 PST 2008
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 3049042..ba94edf 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -358,7 +358,7 @@ create_local_codec_associations (
{
oldca = lookup_codec_association_by_pt_list (current_codec_associations,
codec_pref->id, FALSE);
- if (oldca->reserved)
+ if (oldca && oldca->reserved)
oldca = NULL;
}
--
1.5.6.5
More information about the farsight-commits
mailing list