From 5fd3511859183d9f945117ad344c603988c7867b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Zanelli?= Date: Thu, 28 Jan 2016 18:20:44 +0100 Subject: [PATCH] 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 --- gst/rawparse/gstvideoparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);