From: Edward Hervey Date: Thu, 19 Sep 2013 10:07:56 +0000 (+0200) Subject: gstcontext: Fix return values some more X-Git-Tag: 0.10.36~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4539db3c11ec82a9a613563903dc8c7fa60f462;p=platform%2Fupstream%2Fgstreamer.git gstcontext: Fix return values some more Return value is a boolean not a pointer --- diff --git a/gst/gstcontext.c b/gst/gstcontext.c index 60b99e7..75a1c3f 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; }