From b534e7e7afcf45bebc91f4a1b358e4682af736ab Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 30 May 2014 10:46:25 +1000 Subject: [PATCH] glcontext: fix up assertion error: 'return' with no value, in function returning non-void --- gst-libs/gst/gl/gstglcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index 08f9de7e74..aa5826b75b 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -1015,7 +1015,7 @@ gboolean gst_gl_context_check_gl_version (GstGLContext * context, GstGLAPI api, gint maj, gint min) { - g_return_if_fail (GST_GL_IS_CONTEXT (context)); + g_return_val_if_fail (GST_GL_IS_CONTEXT (context), FALSE); if (maj > context->priv->gl_major) return FALSE;