From 6ce0d6e78bd0b0331addbdd86f2a1eaf73fa78ad Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 5 Jan 2011 12:02:02 +0100 Subject: [PATCH] video: Fix uninitialized variables reported by macosx gcc --- gst-libs/gst/video/video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index 6635125b2e..d9fa50b229 100644 --- a/gst-libs/gst/video/video.c +++ b/gst-libs/gst/video/video.c @@ -566,9 +566,9 @@ gst_video_format_new_caps (GstVideoFormat format, int width, } if (gst_video_format_is_rgb (format)) { GstCaps *caps; - int red_mask; - int blue_mask; - int green_mask; + int red_mask = 0; + int blue_mask = 0; + int green_mask = 0; int alpha_mask; int depth; int bpp;