From d169aa05dcb9f027e2d6cdcede16896b1a1eaee5 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sun, 23 Feb 2014 11:44:51 +1100 Subject: [PATCH] [892/906] silence a compiler warning on older gcc versions (4.6) --- 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 d190502973..1051d3bc27 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -458,7 +458,7 @@ gst_gl_context_default_get_proc_address (GstGLContext * context, gboolean gst_gl_context_set_window (GstGLContext * context, GstGLWindow * window) { - g_return_val_if_fail (!GST_GL_IS_WRAPPED_CONTEXT (context), NULL); + g_return_val_if_fail (!GST_GL_IS_WRAPPED_CONTEXT (context), FALSE); /* we can't change the window while we are running */ if (context->priv->alive)