jpegparse: Fix unitialized variable on macosx
authorEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 11:51:27 +0000 (12:51 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 6 Jan 2011 11:51:27 +0000 (12:51 +0100)
gst/jpegformat/gstjpegparse.c

index 5c54776..ca9ac1f 100644 (file)
@@ -515,7 +515,7 @@ static inline gboolean
 gst_jpeg_parse_skip_marker (GstJpegParse * parse,
     GstByteReader * reader, guint8 marker)
 {
-  guint16 size;
+  guint16 size = 0;
 
   if (!gst_byte_reader_get_uint16_be (reader, &size))
     return FALSE;