theoradec: init VideoInfo before usage.
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 2 Mar 2012 16:10:26 +0000 (17:10 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 2 Mar 2012 16:10:26 +0000 (17:10 +0100)
ext/theora/gsttheoradec.c

index 7c7cd24..4baee38 100644 (file)
@@ -820,6 +820,7 @@ theora_negotiate (GstTheoraDec * dec)
   }
 
   /* info contains the dimensions for the coded picture before cropping */
+  gst_video_info_init (&info);
   gst_video_info_set_format (&info, format, dec->info.frame_width,
       dec->info.frame_height);
   info.fps_n = dec->info.fps_numerator;