qtdemux: Fix unitialized variable.
authorEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 22 Feb 2011 13:15:27 +0000 (14:15 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Tue, 22 Feb 2011 13:16:05 +0000 (14:16 +0100)
gst/qtdemux/qtdemux.c

index 18b4ff1..2003a3b 100644 (file)
@@ -703,7 +703,7 @@ gst_qtdemux_handle_src_query (GstPad * pad, GstQuery * query)
     }
     case GST_QUERY_CONVERT:{
       GstFormat src_fmt, dest_fmt;
-      gint64 src_value, dest_value;
+      gint64 src_value, dest_value = 0;
 
       gst_query_parse_convert (query, &src_fmt, &src_value, &dest_fmt, NULL);