From: David Schleef Date: Mon, 16 Jun 2003 17:43:42 +0000 (+0000) Subject: NULL is a valid props X-Git-Tag: BRANCH-ERROR-ROOT~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e10992295e415107f449af70860ab1b4fd0be15d;p=platform%2Fupstream%2Fgstreamer.git NULL is a valid props Original commit message from CVS: NULL is a valid props --- diff --git a/gst/gstprops.c b/gst/gstprops.c index f077016..9f6a56c 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);