[farsight2/master] Add sanity check
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:40 PST 2008
---
gst/fsrtpconference/fs-rtp-codec-negotiation.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-codec-negotiation.c b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
index 83976ae..153b29c 100644
--- a/gst/fsrtpconference/fs-rtp-codec-negotiation.c
+++ b/gst/fsrtpconference/fs-rtp-codec-negotiation.c
@@ -701,6 +701,8 @@ codec_association_find_custom (GList *codec_associations,
{
GList *item;
+ g_return_val_if_fail (func, NULL);
+
for (item = codec_associations;
item;
item = g_list_next (item))
--
1.5.6.5
More information about the farsight-commits
mailing list