gl: fix incorrect usage of g_return_if_fail

This commit is contained in:
Matthew Waters 2014-04-11 10:55:21 +10:00 committed by Tim-Philipp Müller
parent 30c6efc432
commit 12ecf507b8

View file

@ -543,7 +543,7 @@ gst_gl_color_convert_set_texture_scaling (GstGLColorConvert * convert,
{
guint i;
g_return_val_if_fail (convert != NULL, FALSE);
g_return_if_fail (convert != NULL,);
for (i = 0; i < GST_VIDEO_MAX_PLANES; i++) {
convert->priv->convert_info.shader_scaling[i][0] = scaling[i][0];