summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-01-05 12:02:02 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-01-05 12:02:02 +0100
commit6ce0d6e78bd0b0331addbdd86f2a1eaf73fa78ad (patch)
tree680ccaf9884680b30a4f98065240fae850dc9e4d /gst-libs
parentc05ca085daa643eec846d413f35c16b2f53ed9a1 (diff)
video: Fix uninitialized variables
reported by macosx gcc
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/video/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c
index 6635125b2..d9fa50b22 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;