From: Aurélien Zanelli Date: Thu, 28 Jan 2016 17:20:44 +0000 (+0100) Subject: videoparse: initialize update_size to FALSE when updating info X-Git-Tag: 1.19.3~507^2~7167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5fd3511859183d9f945117ad344c603988c7867b;p=platform%2Fupstream%2Fgstreamer.git videoparse: initialize update_size to FALSE when updating info Otherwise, behavior will be undefined when no strides/offsets are set and it will likely go wrong. https://bugzilla.gnome.org/show_bug.cgi?id=760270 --- diff --git a/gst/rawparse/gstvideoparse.c b/gst/rawparse/gstvideoparse.c index 717b21afaf..7b5e037198 100644 --- a/gst/rawparse/gstvideoparse.c +++ b/gst/rawparse/gstvideoparse.c @@ -434,7 +434,7 @@ gst_video_parse_update_info (GstVideoParse * vp) gint fps_n, fps_d; gint framesize; guint i; - gboolean update_size; + gboolean update_size = FALSE; gst_raw_parse_get_fps (GST_RAW_PARSE (vp), &fps_n, &fps_d);