diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-02 17:10:26 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-02 17:10:26 +0100 |
commit | e45e6bc2976570305885165c4baf2061f2236233 (patch) | |
tree | 2507051a1961e6ec00f315e89186075d6054a1bf | |
parent | 337eed6e91573039db27d3cb9122bb1c357082aa (diff) |
theoradec: init VideoInfo before usage.
-rw-r--r-- | ext/theora/gsttheoradec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c index 7c7cd24f5..4baee386c 100644 --- a/ext/theora/gsttheoradec.c +++ b/ext/theora/gsttheoradec.c @@ -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; |