From c4539db3c11ec82a9a613563903dc8c7fa60f462 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 19 Sep 2013 12:07:56 +0200 Subject: [PATCH] gstcontext: Fix return values some more Return value is a boolean not a pointer --- gst/gstcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstcontext.c b/gst/gstcontext.c index 60b99e774c..75a1c3f6dd 100644 --- a/gst/gstcontext.c +++ b/gst/gstcontext.c @@ -266,7 +266,7 @@ gst_context_writable_structure (GstContext * context) gboolean gst_context_is_persistent (const GstContext * context) { - g_return_val_if_fail (GST_IS_CONTEXT (context), NULL); + g_return_val_if_fail (GST_IS_CONTEXT (context), FALSE); return context->persistent; }