video: Fix uninitialized variables

reported by macosx gcc
This commit is contained in:
Edward Hervey 2011-01-05 12:02:02 +01:00
parent c05ca085da
commit 6ce0d6e78b

View file

@ -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;