From e10992295e415107f449af70860ab1b4fd0be15d Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 16 Jun 2003 17:43:42 +0000 Subject: [PATCH] NULL is a valid props Original commit message from CVS: NULL is a valid props --- gst/gstprops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstprops.c b/gst/gstprops.c index f077016a99..9f6a56c28c 100644 --- a/gst/gstprops.c +++ b/gst/gstprops.c @@ -1703,7 +1703,7 @@ gst_props_entry_get_safe (const GstPropsEntry *entry, ...) gboolean result; va_list var_args; - g_return_val_if_fail (entry != NULL, FALSE); + if(entry == NULL) return FALSE; va_start (var_args, entry); result = gst_props_entry_getv (entry, TRUE, var_args);