projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da35876
)
glcontext: fix up assertion
author
Matthew Waters
<ystreet00@gmail.com>
Fri, 30 May 2014 00:46:25 +0000
(10:46 +1000)
committer
Matthew Waters
<ystreet00@gmail.com>
Fri, 30 May 2014 00:46:25 +0000
(10:46 +1000)
error: 'return' with no value, in function returning non-void
gst-libs/gst/gl/gstglcontext.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglcontext.c
b/gst-libs/gst/gl/gstglcontext.c
index 08f9de7e74c957a05da2425594e9d84810dd16ce..aa5826b75b30a840c7fe0fa097a04c2350da677f 100644
(file)
--- 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;