avidemux: initialize variable to 0
authorTristan Matthews <le.businessman at gmail.com>
Mon, 11 May 2009 19:02:27 +0000 (21:02 +0200)
committerWim Taymans <wim@metal.(none)>
Mon, 11 May 2009 19:02:27 +0000 (21:02 +0200)
Fixes #582218.

gst/avi/gstavidemux.c

index 6c81ee14c0e0aa81d9bf53963349d8aced908b49..70f677772f2afe6215d43875d535506b36526a6d 100644 (file)
@@ -351,7 +351,7 @@ gst_avi_demux_index_entry_for_time (GstAviDemux * avi,
     gint stream_nr, guint64 time)
 {
   gst_avi_index_entry *entry = NULL;
-  guint n;
+  guint n = 0;
 
   GST_LOG_OBJECT (avi, "stream_nr:%d , time:%" GST_TIME_FORMAT,
       stream_nr, GST_TIME_ARGS (time));