From 291991dac253505cb8b5f1b9c40939d4e831004c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 19 Sep 2013 11:49:26 +0200 Subject: [PATCH] context: Fix return values for gst_context_has_context_type() in assertions --- gst/gstcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstcontext.c b/gst/gstcontext.c index d8c7e5c..60b99e7 100644 --- a/gst/gstcontext.c +++ b/gst/gstcontext.c @@ -205,8 +205,8 @@ gboolean gst_context_has_context_type (const GstContext * context, const gchar * context_type) { - g_return_val_if_fail (GST_IS_CONTEXT (context), NULL); - g_return_val_if_fail (context_type != NULL, NULL); + g_return_val_if_fail (GST_IS_CONTEXT (context), FALSE); + g_return_val_if_fail (context_type != NULL, FALSE); return strcmp (context->context_type, context_type) == 0; } -- 2.7.4