From: Edward Hervey Date: Fri, 23 Jan 2015 11:41:29 +0000 (+0100) Subject: gltestsrc: Ensure variable is initialized before usage X-Git-Tag: 1.16.2~955^2~1111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2833e8c63adc28d859e6ad9435c6764cac25e15e;p=platform%2Fupstream%2Fgst-plugins-base.git gltestsrc: Ensure variable is initialized before usage Coverity CID: 1256569 --- 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;