From 2833e8c63adc28d859e6ad9435c6764cac25e15e Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 23 Jan 2015 12:41:29 +0100 Subject: [PATCH] gltestsrc: Ensure variable is initialized before usage Coverity CID: 1256569 --- ext/gl/gstgltestsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gl/gstgltestsrc.c b/ext/gl/gstgltestsrc.c index 5a56d4e..8cb0fd1 100644 --- a/ext/gl/gstgltestsrc.c +++ b/ext/gl/gstgltestsrc.c @@ -770,7 +770,7 @@ gst_gl_test_src_decide_allocation (GstBaseSrc * basesrc, GstQuery * query) guint idx; guint out_width, out_height; GstGLContext *other_context = NULL; - gboolean same_downstream_gl_context; + gboolean same_downstream_gl_context = FALSE; if (!gst_gl_ensure_element_data (src, &src->display, &src->other_context)) return FALSE; -- 2.7.4