[892/906] silence a compiler warning on older gcc versions (4.6)
authorMatthew Waters <ystreet00@gmail.com>
Sun, 23 Feb 2014 00:44:51 +0000 (11:44 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:33 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglcontext.c

index d190502..1051d3b 100644 (file)
@@ -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)