summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-09-19 12:07:56 +0200
committerEdward Hervey <edward@collabora.com>2013-09-19 12:07:56 +0200
commitc4539db3c11ec82a9a613563903dc8c7fa60f462 (patch)
tree256ae63df8e8499792186d19abeb026631773868
parent291991dac253505cb8b5f1b9c40939d4e831004c (diff)
gstcontext: Fix return values some more
Return value is a boolean not a pointer
-rw-r--r--gst/gstcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstcontext.c b/gst/gstcontext.c
index 60b99e774..75a1c3f6d 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;
}