flmux: Make sure best_time is initialized
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 12 Jun 2015 21:44:51 +0000 (17:44 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 12 Jun 2015 21:45:23 +0000 (17:45 -0400)
gst/flv/gstflvmux.c

index e13b24f..454da24 100644 (file)
@@ -1488,7 +1488,7 @@ gst_flv_mux_handle_buffer (GstCollectPads * pads, GstCollectData * cdata,
 {
   GstFlvMux *mux = GST_FLV_MUX (user_data);
   GstFlvPad *best;
-  gint64 best_time;
+  gint64 best_time = GST_CLOCK_STIME_NONE;
   GstFlowReturn ret;
 
   if (mux->state == GST_FLV_MUX_STATE_HEADER) {