jpegparse: Fix unitialized variable on macosx

This commit is contained in:
Edward Hervey 2011-01-06 12:51:27 +01:00
parent 0a55306c40
commit 6b9e2628b7

View file

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